We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c514be commit 4817c1cCopy full SHA for 4817c1c
src/commands/init.ts
@@ -83,7 +83,9 @@ export class InitCommand extends ApifyCommand<typeof InitCommand> {
83
}
84
85
if (!actorName) {
86
- let response = actorConfig.isOk() ? { actName: actorConfig.unwrap().config.name as string } : null;
+ let response = actorConfig.isOkAnd((cfg) => cfg.exists)
87
+ ? { actName: actorConfig.unwrap().config.name as string }
88
+ : null;
89
90
while (!response) {
91
try {
0 commit comments