Skip to content

Commit 6fc0e0b

Browse files
committed
fix: normalize base config dir for Windows compatibility
1 parent ea50a45 commit 6fc0e0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/path-utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import {
1212
* Get the base configuration directory for a scope
1313
*/
1414
export function getBaseConfigDir(scope: ConfigScope): string {
15-
return scope === 'global' ? GLOBAL_CONFIG_DIR : PROJECT_CONFIG_DIR;
15+
const dir = scope === 'global' ? GLOBAL_CONFIG_DIR : PROJECT_CONFIG_DIR;
16+
return normalizePath(dir);
1617
}
1718

1819
/**

0 commit comments

Comments
 (0)