Skip to content

Commit

Permalink
Exclude the -p option from the update command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ma committed Aug 24, 2022
1 parent ceb046a commit 3316668
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions dim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ await new Command()
"update",
new Command()
.arguments("[name:string]")
.option(
"-p, --postProcesses <postProcesses>",
"Specify post-processing when installing.",
{ collect: true },
)
.option(
"-A, --asyncInstall",
"Execute asyncronous install.",
Expand Down
2 changes: 1 addition & 1 deletion libs/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class UpdateAction {
const fullPath = await installFromURL(
content.url,
name,
options.postProcesses,
content.postProcesses,
content.headers,
).catch(
(error) => {
Expand Down

0 comments on commit 3316668

Please sign in to comment.