diff --git a/src/commands/functions/deploy.ts b/src/commands/functions/deploy.ts index 6401f66..cb5c7ec 100644 --- a/src/commands/functions/deploy.ts +++ b/src/commands/functions/deploy.ts @@ -66,7 +66,7 @@ const deployAction: SdkGuardedFunction = async ({ }); } - if (!output.debugEnabled) { + if (!output.debugEnabled && !args.noBundle) { fs.rmSync(bundledFilePath); }