mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Update decrypt-save.js comment
This commit is contained in:
parent
73ba4de3fb
commit
dea9bda492
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user