Skip to content

Commit 5a95793

Browse files
authored
fix: issue-13 (#13)
1 parent 5530554 commit 5a95793

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crx3/commands/download.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,11 @@ func newDownloadCmd() *cobra.Command {
5151
if err := crx3.DownloadFromWebStore(extensionID, opts.Outfile); err != nil {
5252
return err
5353
}
54+
5455
if opts.Unpack {
5556
if err := crx3.Unpack(opts.Outfile); err != nil {
5657
return err
5758
}
58-
if err := os.Remove(opts.Outfile); err != nil {
59-
return err
60-
}
6159
}
6260
return
6361
},

0 commit comments

Comments
 (0)