Skip to content

Commit

Permalink
scripts/build-plugins-report: don't open report at the end
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Oldsberg <[email protected]>
  • Loading branch information
Rugvip authored and camilaibs committed Oct 12, 2023
1 parent 565dff3 commit ef26bd7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"lint-staged": "^13.0.0",
"minimist": "^1.2.5",
"node-gyp": "^9.4.0",
"open": "^7.2.1",
"prettier": "^2.2.1",
"semver": "^7.5.3",
"shx": "^0.3.2",
Expand Down
5 changes: 1 addition & 4 deletions scripts/build-plugins-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

const fs = require('fs-extra');
const path = require('path');
const open = require('open');
const { execFile: execFileCb } = require('child_process');
const { promisify } = require('util');

Expand Down Expand Up @@ -137,9 +136,7 @@ async function main() {
if (err) throw err;
});

console.log(`📄 Opening ${file} file...`);

open(file);
console.log(`📄 Report generated at ${file}`);
}

main(process.argv.slice(2)).catch(error => {
Expand Down
3 changes: 1 addition & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34349,7 +34349,7 @@ __metadata:
languageName: node
linkType: hard

"open@npm:^7.2.1, open@npm:^7.4.2":
"open@npm:^7.4.2":
version: 7.4.2
resolution: "open@npm:7.4.2"
dependencies:
Expand Down Expand Up @@ -38468,7 +38468,6 @@ __metadata:
lint-staged: ^13.0.0
minimist: ^1.2.5
node-gyp: ^9.4.0
open: ^7.2.1
prettier: ^2.2.1
semver: ^7.5.3
shx: ^0.3.2
Expand Down

0 comments on commit ef26bd7

Please sign in to comment.