We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4bffe commit 301706cCopy full SHA for 301706c
1 file changed
lib/package.js
@@ -613,7 +613,7 @@ export default class Package {
613
}
614
615
async runScript ( script, args ) {
616
- return this.npm.runScript( script, { args } );
+ return this.npm.api.runScript( script, { args } );
617
618
619
async getOutdatedDependencies ( { all } = {} ) {
@@ -934,7 +934,7 @@ export default class Package {
934
res = result( [ 200, "No tests to run" ] );
935
936
else {
937
- res = await this.npm.runScript( "test", { log } );
+ res = await this.npm.api.runScript( "test", { log } );
938
939
940
if ( log ) {
0 commit comments