Skip to content

Commit

Permalink
Updating postinstall for cross platforms (#8101)
Browse files Browse the repository at this point in the history
* Updating postinstall for crossplatforms

* Update .husky/postinstall.js

Co-authored-by: Christian Bromann <git@bromann.dev>

* Update postinstall.js

Removing backticks

Co-authored-by: Christian Bromann <git@bromann.dev>
  • Loading branch information
harsha509 and christian-bromann authored Mar 11, 2022
1 parent da76f1e commit dd90a06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .husky/postinstall.txt → .husky/postinstall.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
console.log(`
##################
### Attention! ###
##################
The WebdriverIO team is aware of the following reported vulnerabilities.
These do not impact packages used by users but ones we use to generate
our public website (webdriver.io). The package in question is `markdox`
which depends on vulnerabile packages such as: `dox` and `ejs`.
our public website (webdriver.io). The package in question is 'markdox'
which depends on vulnerabile packages such as: 'dox' and 'ejs'.
Please help us to resolve the issue, see https://github.com/webdriverio/webdriverio/issues/6640
`);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"version": "npm run changelog && git add CHANGELOG.md",
"postinstall": "run-s postinstall:*",
"postinstall:husky": "husky install",
"postinstall:vulnerabilities": "cat ./.husky/postinstall.txt"
"postinstall:vulnerabilities": "node ./.husky/postinstall.js"
},
"devDependencies": {
"@cucumber/cucumber": "^8.0.0-rc.1",
Expand Down

0 comments on commit dd90a06

Please sign in to comment.