Update decrypt-save.js comment

This commit is contained in:
Bertie690 2025-08-18 09:25:39 -04:00 committed by GitHub
parent 73ba4de3fb
commit dea9bda492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ function decryptSave(path) {
console.error(`Unrecognized error: ${e}`);
process.exit(1);
}
// @ts-expect-error: TODO fix
// @ts-expect-error - e is usually a SystemError (all of which have codes)
switch (e.code) {
case "ENOENT":
console.error(`File not found: ${path}`);