Skip to content

Commit 438cfb0

Browse files
committed
refactor: Local development error string.
1 parent d32af69 commit 438cfb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/questions.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ const questionsRunFunctions = [
781781
choices: () => {
782782
let functions = localConfig.getFunctions();
783783
if (functions.length === 0) {
784-
throw new Error("No functions found in the current directory.");
784+
throw new Error("No functions found in the current directory, use 'appwrite init function' to create one");
785785
}
786786
let choices = functions.map((func, idx) => {
787787
return {

0 commit comments

Comments
 (0)