Skip to content

Commit

Permalink
Revert "add npm: protocol to deno runs"
Browse files Browse the repository at this point in the history
This reverts commit 8183d57.
  • Loading branch information
benmccann committed Nov 29, 2024
1 parent de84ed6 commit 11473ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/cli/lib/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ async function runAddon({ addon, multiple, workspace }: RunAddon): Promise<strin
}
},
execute: async (commandArgs, stdio) => {
// Deno requires the package to be prepended with the `npm:` protocol
if (workspace.packageManager === 'deno') commandArgs[0] = `npm:${commandArgs[0]}`;

const { command, args } = resolveCommand(workspace.packageManager, 'execute', commandArgs)!;

const addonPrefix = multiple ? `${addon.id}: ` : '';
Expand Down

0 comments on commit 11473ad

Please sign in to comment.