Skip to content

Commit 5369528

Browse files
authored
Merge pull request #1075 from appwrite/fix-cli-shadowed-error-function
fix(cli): prevent shadowed error function
2 parents f1f506d + 6f8840c commit 5369528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/commands/generic.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const whoami = new Command("whoami")
122122
sdk: client,
123123
parseOutput: false
124124
});
125-
} catch (error) {
125+
} catch (_) {
126126
error("No user is signed in. To sign in, run 'appwrite login'");
127127
return;
128128
}

0 commit comments

Comments
 (0)