Skip to content

Commit 844b1a7

Browse files
ChiragAgg5kCopilot
andauthored
Update templates/cli/lib/commands/update.js.twig
Co-authored-by: Copilot <[email protected]>
1 parent 1d3480c commit 844b1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const isInstalledViaNpm = () => {
1616
try {
1717
const scriptPath = process.argv[1];
1818

19-
if (scriptPath.includes('node_modules') && scriptPath.includes('appwrite-cli')) {
19+
if (scriptPath.includes('node_modules') && scriptPath.includes('{{ language.params.npmPackage|caseDash }}')) {
2020
return true;
2121
}
2222

0 commit comments

Comments
 (0)