Skip to content

Commit

Permalink
Merge pull request #999 from appwrite/fix-deno-commands
Browse files Browse the repository at this point in the history
Fix: Deno commands
  • Loading branch information
Meldiron authored Oct 9, 2024
2 parents fac0f62 + 24e9958 commit 412451c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/cli/lib/emulation/utils.js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const systemTools = {
},
'deno': {
isCompiled: false,
startCommand: "deno start",
startCommand: "deno run --allow-run --allow-net --allow-write --allow-read --allow-env src/server.ts",
dependencyFiles: [ ]
},
'dart': {
Expand Down
2 changes: 1 addition & 1 deletion templates/cli/lib/questions.js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const getInstallCommand = (runtime) => {
case 'dart':
return 'dart pub get';
case 'deno':
return "deno install";
return "deno cache src/main.ts";
case 'node':
return 'npm install';
case 'bun':
Expand Down

0 comments on commit 412451c

Please sign in to comment.