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 700ea83 commit 26fcd66Copy full SHA for 26fcd66
src/commands/init.ts
@@ -86,7 +86,9 @@ export class InitCommand extends ApifyCommand<typeof InitCommand> {
86
}
87
88
if (!actorName) {
89
- let response = actorConfig.isOk() ? { actName: actorConfig.unwrap().config.name as string } : null;
+ let response = actorConfig.isOkAnd((cfg) => cfg.exists)
90
+ ? { actName: actorConfig.unwrap().config.name as string }
91
+ : null;
92
93
while (!response) {
94
try {
0 commit comments