Skip to content

Commit

Permalink
fix: 🐛 Unix permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 31, 2023
1 parent daafdfe commit dc9a3c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

git ls-files -z | xargs -0 chmod +x
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"preview": "vite preview",
"lint": "eslint . --ext .md,.vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .eslintignore --fix",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.config.js",
"postinstall": "electron-builder install-app-deps"
"postinstall": "electron-builder install-app-deps",
"prepare": "husky install"
},
"dependencies": {
"vue": "^3.3.6"
Expand All @@ -39,6 +40,7 @@
"element-plus": "^2.4.1",
"fix-path": "^4.0.0",
"fs-extra": "^11.1.1",
"husky": "^8.0.0",
"lodash-es": "^4.17.21",
"pinia": "^2.1.7",
"typescript": "^5.2.2",
Expand Down

0 comments on commit dc9a3c4

Please sign in to comment.