Skip to content

Commit 4f302a0

Browse files
authored
fix(cli): fix error when no project set
The command should be `init project` and not just `init` as `init` will create some resource in a project
1 parent b9cd545 commit 4f302a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/sdks.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const sdkForProject = async () => {
3030
let selfSigned = globalConfig.getSelfSigned()
3131

3232
if (!project) {
33-
throw new Error("Project is not set. Please run `{{ language.params.executableName }} init` to initialize the current directory with an {{ spec.title|caseUcfirst }} project.");
33+
throw new Error("Project is not set. Please run `{{ language.params.executableName }} init project` to initialize the current directory with an {{ spec.title|caseUcfirst }} project.");
3434
}
3535

3636
client

0 commit comments

Comments
 (0)