mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
fix: build
This commit is contained in:
@@ -63,7 +63,7 @@ export function deleteUndefinedProperties(object: unknown): unknown {
|
||||
* Checks if environment is Node.js
|
||||
*/
|
||||
export function isNodeEnvironment(): boolean {
|
||||
return Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
|
||||
return Object.prototype.toString.call(typeof process === 'undefined' ? 0 : process) === '[object process]';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user