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": { "pkgManagers": {
"rust": { "rust": {
"version": true, "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": [ "prepublish": [
"sudo apt-get update", "sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.0", "sudo apt-get install -y webkit2gtk-4.0",

View File

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