We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b636e8c commit 434a70fCopy full SHA for 434a70f
@packages/utils/pkg-check.js
@@ -46,10 +46,10 @@ function main(cli) {
46
return readPkg(cwd).then(pkg => {
47
return getTarballFiles(cwd, {write: !skipImport}).then(tarball => {
48
return getPackageFiles(cwd).then(pkgFiles => {
49
- const problems = [];
+ let problems = [];
50
51
if (!cli.flags.skipBin) {
52
- problems.concat(
+ problems = problems.concat(
53
pkgFiles.bin
54
.filter(binFile => tarball.files.indexOf(binFile) === -1)
55
.map(binFile => ({
0 commit comments