chore: covector should use pkg name, not nickname (#1487)

This fixes the check for tauri-cli which is nicknamed cli.rs.
This commit is contained in:
Jacob Bolda 2021-04-14 14:21:54 -05:00 committed by GitHub
parent e267ebf1f1
commit 67eab36b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"pkgManagers": {
"rust": {
"version": true,
"getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.0",

View File

@ -13,8 +13,8 @@
"postinstall": "husky install"
},
"devDependencies": {
"covector": "^0.2.6",
"covector": "^0.5.3",
"husky": "^5.1.3",
"prettier": "^2.0.5"
}
}
}