chore: install cargo-audit with the fix feature as part of publish (#1010)

This should hopefully let CI finish and not exit with code 1.
This commit is contained in:
Jacob Bolda 2020-09-02 21:06:12 -05:00 committed by GitHub
parent 03b9cd1d58
commit e760331fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.0",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
"dryRunCommand": true,
@ -24,7 +25,7 @@
"pipe": true
},
{
"command": "cargo audit fix --dry-run",
"command": "cargo audit fix --dry-run true",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true