Skip to content

Commit

Permalink
Use newly-published NPM package (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman authored Oct 14, 2019
1 parent 0ff5c11 commit d59503d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = async ( options = {} ) => {

if ( hasYarn( packageCwd ) ) {
try {
await execa( 'yarn', [ 'add', '--dev', '--ignore-workspace-root-check', 'wpaccessibility/wp-theme-auditor' ], { cwd: packageCwd } );
await execa( 'yarn', [ 'add', '--dev', '--ignore-workspace-root-check', 'wp-theme-auditor' ], { cwd: packageCwd } );

if ( ! options.quiet ) {
depsSpinner.succeed();
Expand All @@ -102,7 +102,7 @@ module.exports = async ( options = {} ) => {
return;
}

await execa( 'npm', [ 'install', '--save-dev', 'wpaccessibility/wp-theme-auditor' ], { cwd: packageCwd } );
await execa( 'npm', [ 'install', '--save-dev', 'wp-theme-auditor' ], { cwd: packageCwd } );

if ( ! options.quiet ) {
depsSpinner.succeed();
Expand Down

0 comments on commit d59503d

Please # to comment.