Skip cargo-about in CI to save 5 minutes (#409)

This commit is contained in:
Keavon Chambers 2021-12-20 02:22:19 -08:00
parent 5ec8aaa31d
commit 0da034afc8
3 changed files with 27 additions and 13 deletions

View file

@ -59,8 +59,8 @@ module.exports = {
"linebreak-style": ["error", "unix"],
"eol-last": ["error", "always"],
"max-len": ["error", { code: 200, tabWidth: 4 }],
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-console": "warn",
"no-debugger": "warn",
"no-param-reassign": ["error", { props: false }],
"no-bitwise": "off",
"no-shadow": "off",

View file

@ -105,7 +105,7 @@ module.exports = {
function formatThirdPartyLicenses(jsLicenses) {
let rustLicenses = null;
if (process.env.NODE_ENV === "production") {
if (process.env.NODE_ENV === "production" && process.env.SKIP_CARGO_ABOUT === undefined) {
try {
rustLicenses = generateRustLicenses();
} catch (e) {