aboutsummaryrefslogblamecommitdiffstats
path: root/packages/deployer/src/utils/utils.ts
blob: 931ad6f735094a344bc5040ad65b4bf657a222f7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                      










                                                                                             
  
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;
    },
};