aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/utils/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/deployer/src/utils/utils.ts')
-rw-r--r--packages/deployer/src/utils/utils.ts13
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;
+ },
+};