npm-pkgbuild 22.0.0 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "22.0.0",
3
+ "version": "22.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
@@ -295,7 +295,7 @@ package() {
295
295
  const flags = {
296
296
  user: ["-u", f => f.user],
297
297
  group: ["-g", f => f.group],
298
- mode: ["-m", f => Number(f.mode && 0o7777).toString(8)] // TODO why only 12 bits
298
+ mode: ["-m", f => Number(f.mode & 0o7777).toString(8)] // TODO why only 12 bits
299
299
  };
300
300
 
301
301
  content =