Skip to content

Commit 32c2f6a

Browse files
authored
fix: specify filename with .zip extension for commit and upload commands (#619)
1 parent f82a5d5 commit 32c2f6a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/app/commit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default <ICommand<CommandArgs>>{
3232

3333
const buffer = await core.fs.zip(args.glob, core.workspaceFolder);
3434

35-
const file = await resolveFile(buffer);
35+
const file = await resolveFile(buffer, "file.zip");
3636

3737
spinner.start("Commiting...");
3838

src/commands/app/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default <ICommand<CommandArgs>>{
3636

3737
const buffer = await core.fs.zip(args.glob, core.workspaceFolder);
3838

39-
const file = await resolveFile(buffer);
39+
const file = await resolveFile(buffer, "file.zip");
4040

4141
spinner.start("Uploading...");
4242

src/commands/team/commit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default <ICommand<CommandArgs>>{
3232

3333
const buffer = await core.fs.zip(args.glob, core.workspaceFolder);
3434

35-
const file = await resolveFile(buffer);
35+
const file = await resolveFile(buffer, "file.zip");
3636

3737
spinner.start("Commiting...");
3838

0 commit comments

Comments
 (0)