Skip to content

Commit c106d95

Browse files
authored
Merge pull request #57 from zilayo/fix-storage
fix: remove --pretty flag from storage inspector
2 parents fdb98eb + a33ed40 commit c106d95

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

funding.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"opRetro": {
3+
"projectId": "0x3ec2d572a608cf939eaf7886402320b3b2229610c13bdb5cb0776bd097331e5a"
4+
}
5+
}

src/commands/storage-inspector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function storageLayoutActiveFile(args) {
1414
let contractDir = await getContractRootDir(contractPathArray.join("/"));
1515

1616
cp.exec(
17-
`cd ${contractDir} && forge inspect --pretty ${contractName} storage`,
17+
`cd ${contractDir} && forge inspect ${contractName} storage`,
1818
(err, stdout, stderr) => {
1919
if (err) {
2020
vscode.window.showErrorMessage(
@@ -46,7 +46,7 @@ async function storageLayoutContextMenu(clickedFile, selectedFiles) {
4646
let contractDir = await getContractRootDir(contractPathArray.join("/"));
4747

4848
cp.exec(
49-
`cd ${contractDir} && forge inspect --pretty ${contractName} storage`,
49+
`cd ${contractDir} && forge inspect ${contractName} storage`,
5050
(err, stdout, stderr) => {
5151
if (err) {
5252
vscode.window.showErrorMessage(

0 commit comments

Comments
 (0)