aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/src/utils/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-compiler/src/utils/utils.ts')
-rw-r--r--packages/sol-compiler/src/utils/utils.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/sol-compiler/src/utils/utils.ts b/packages/sol-compiler/src/utils/utils.ts
new file mode 100644
index 000000000..4f2de2caa
--- /dev/null
+++ b/packages/sol-compiler/src/utils/utils.ts
@@ -0,0 +1,6 @@
+export const utils = {
+ stringifyWithFormatting(obj: any): string {
+ const stringifiedObj = JSON.stringify(obj, null, '\t');
+ return stringifiedObj;
+ },
+};