Skip to content

Commit c03c1d1

Browse files
committed
Use key overrides when decrypting.
1 parent ee2080b commit c03c1d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/cryptFile.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ async function decryptCommand(filePath: string): Promise<void> {
6666
process.exit(1);
6767
}
6868

69-
const storage = await EncryptedStorage.create({
70-
serviceName: CONFIG.serviceName,
71-
accountName: CONFIG.accountName,
72-
});
69+
const storage = await EncryptedStorage.create(CONFIG);
7370
const content = storage.readFile(filePath);
7471

7572
if (content === null) {

0 commit comments

Comments
 (0)