Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed May 14, 2024
1 parent bafa6c1 commit 2ebbe35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,3 @@ jobs:
yarn remove yarn npm
- name: Run tests
run: yarn ${{matrix.test}}
env:
DEBUG: '@oclif/plugin-plugins*'
4 changes: 2 additions & 2 deletions src/npm.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Interfaces, ux} from '@oclif/core'
import {Errors, Interfaces, ux} from '@oclif/core'
import makeDebug from 'debug'
import {readFile} from 'node:fs/promises'
import {createRequire} from 'node:module'
Expand Down Expand Up @@ -83,7 +83,7 @@ export class NPM {
}

if (!this.bin) {
throw new Error('npm not found')
throw new Errors.CLIError('npm not found')
}

return this.bin
Expand Down

0 comments on commit 2ebbe35

Please sign in to comment.