From fba8eed2858ea05f3251cc38f5ca95fc6aa26eab Mon Sep 17 00:00:00 2001 From: Peter Cardenas <16930781+PeterCardenas@users.noreply.github.com> Date: Sun, 16 Mar 2025 14:21:21 -0700 Subject: [PATCH] fix: set core.safecrlf to false to prevent errors --- src/commands/init.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/init.ts b/src/commands/init.ts index 4a7dd6c..ffa9999 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -60,6 +60,11 @@ export const init = async (directory: Command | string): Promise => { cwd: absoluteInitDirectory, }) + await configDispatch('git', { + args: ['config', 'core.safecrlf', 'false'], + cwd: absoluteInitDirectory, + }) + log.info('Committing...') await configDispatch('git', {