build: fix skipped package check

This commit is contained in:
Evan You 2020-01-02 18:08:42 -05:00
parent b518f9d4e3
commit 9351264aff

View File

@ -171,7 +171,7 @@ function updateDeps(pkg, depType, version) {
}
async function publishPackage(pkgName, version, releaseTag, runIfNotDry) {
if (skippedPackages.includes[pkgName]) {
if (skippedPackages.includes(pkgName)) {
return
}
const pkgRoot = getPkgRoot(pkgName)