Skip to content

Commit

Permalink
fix: config storage-layout to output in json
Browse files Browse the repository at this point in the history
  • Loading branch information
baroooo committed Dec 6, 2024
1 parent 7464528 commit 1216166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const exactify = (variable: StorageVariable): StorageVariableExact => ({
});

export const createLayout = (contract: string, cwd = ".") => {
return execSync(`forge inspect ${contract} storage-layout`, {
return execSync(`forge inspect ${contract} storage-layout --json`, {
encoding: "utf-8",
cwd,
});
Expand Down

0 comments on commit 1216166

Please sign in to comment.