diff options
Diffstat (limited to 'packages/deployer/src/utils/utils.ts')
-rw-r--r-- | packages/deployer/src/utils/utils.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/deployer/src/utils/utils.ts b/packages/deployer/src/utils/utils.ts new file mode 100644 index 000000000..4390d8813 --- /dev/null +++ b/packages/deployer/src/utils/utils.ts @@ -0,0 +1,13 @@ +export const utils = { + consoleLog(message: string): void { + /* tslint:disable */ + console.log(message); + /* tslint:enable */ + }, + stringifyWithFormatting(obj: any): string { + const jsonReplacer: null = null; + const numberOfJsonSpaces = 4; + const stringifiedObj = JSON.stringify(obj, jsonReplacer, numberOfJsonSpaces); + return stringifiedObj; + }, +}; |