aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/deploy/src/utils/utils.ts
blob: 4390d88134219030c86901c3174aa1242a152900 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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;
    },
};