Skip to content

Commit 1a6b869

Browse files
committed
fix(scf): recreate for create failed
1 parent f83baba commit 1a6b869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/scf/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ export default class Scf {
603603
case 'CreateFailed':
604604
console.log(`函数创建失败,${reason || Status}`);
605605
await this.tryToDeleteFunction(namespace, functionName);
606-
break;
606+
return null;
607607
case 'DeleteFailed':
608608
errorMsg = `函数删除失败,${reason || Status}`;
609609
break;

0 commit comments

Comments
 (0)