I used copy instead of shell:
copy: { githooks: { files: [{ flatten: true, src: ['git-hooks/pre-commit'], dest: '.git/hooks/pre-commit' }] } }
I used copy instead of shell:
copy: {
githooks: {
files: [{
flatten: true,
src: ['git-hooks/pre-commit'],
dest: '.git/hooks/pre-commit'
}]
}
}