Skip to content

Commit cebd23e

Browse files
committed
PR review changes
1 parent 797104f commit cebd23e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/SDK/Language/CLI.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,16 @@ public function getFiles(): array
250250
'destination' => 'lib/commands/run.js',
251251
'template' => 'cli/lib/commands/run.js.twig',
252252
],
253+
[
254+
'scope' => 'default',
255+
'destination' => 'lib/emulation/docker.js',
256+
'template' => 'cli/lib/emulation/docker.js.twig',
257+
],
258+
[
259+
'scope' => 'default',
260+
'destination' => 'lib/emulation/utils.js',
261+
'template' => 'cli/lib/emulation/utils.js.twig',
262+
],
253263
[
254264
'scope' => 'service',
255265
'destination' => '/lib/commands/{{service.name | caseDash}}.js',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const runFunction = async ({ port, functionId, noVariables, noReload, userId } =
6868
}
6969

7070
if(!portFound) {
71-
error('Could not auto-suggest an available port. Please configure port with `appwrite run --port YOUR_PORT` command.');
71+
error('Could not find an available port. Please select a port with `appwrite run --port YOUR_PORT` command.');
7272
return;
7373
}
7474
}

0 commit comments

Comments
 (0)