Skip to content

Commit 4e97c6e

Browse files
committed
fix: prettier validation on json files
1 parent 01e8dc4 commit 4e97c6e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"batchGenerateEncryptedKeys": "QmR8Zs7ctSEctxBrSnAYhMXFXCC1ub8K1xvMn5Js3NCSAA"
3-
}
3+
}

packages/wrapped-keys/src/lib/lit-actions-client/lit-action-cid-repository.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"evm": "QmUJ74pTUqeeHzDGdfwCph1vJVNJ1rRzJdvMiTjS1BMwYj",
1616
"solana": "QmUJ74pTUqeeHzDGdfwCph1vJVNJ1rRzJdvMiTjS1BMwYj"
1717
}
18-
}
18+
}

packages/wrapped-keys/update-ipfs-cids.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,21 @@ async function updateConstants() {
5353
};
5454

5555
// Write constant json files with lit action hashes
56+
// Extra \n is for prettier rule
5657
fs.writeFileSync(
5758
path.join(
5859
__dirname,
5960
'./src/lib/lit-actions-client/lit-action-cid-repository.json'
6061
),
61-
JSON.stringify(litActionCIDRepository, null, 2),
62+
JSON.stringify(litActionCIDRepository, null, 2) + '\n',
6263
'utf-8'
6364
);
6465
fs.writeFileSync(
6566
path.join(
6667
__dirname,
6768
'./src/lib/lit-actions-client/lit-action-cid-repository-common.json'
6869
),
69-
JSON.stringify(litActionCIDRepositoryCommon, null, 2),
70+
JSON.stringify(litActionCIDRepositoryCommon, null, 2) + '\n',
7071
'utf-8'
7172
);
7273
}

0 commit comments

Comments
 (0)