We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9cba01 commit eab9dbeCopy full SHA for eab9dbe
packages/mookme/src/utils/git.ts
@@ -103,7 +103,7 @@ export class GitToolkit {
103
logger.warning('Files were changed during hook execution !');
104
logger.info('Following the defined behavior : Add and continue.');
105
for (const file of changedFiles) {
106
- execSync(`git add ${this.rootDir}/${file}`);
+ execSync(`git add "${this.rootDir}/${file}"`);
107
}
108
break;
109
case ADDED_BEHAVIORS.EXIT:
0 commit comments