diff --git a/install.js b/install.js index e24fc0d..fc7def7 100644 --- a/install.js +++ b/install.js @@ -121,10 +121,10 @@ catch (e) { console.error('pre-commit:'); } -try { fs.chmodSync(precommit, '777'); } +try { fs.chmodSync(precommit, '775'); } catch (e) { console.error('pre-commit:'); - console.error('pre-commit: chmod 0777 the pre-commit file in your .git/hooks folder because:'); + console.error('pre-commit: chmod 0775 the pre-commit file in your .git/hooks folder because:'); console.error('pre-commit: '+ e.message); console.error('pre-commit:'); }