Skip to content

Commit 91fc6a0

Browse files
committed
wip: check what path sep is when using windows runner
1 parent 27a51ae commit 91fc6a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/types/src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,13 @@ export class CliUserConfigValidator extends SnippetShellUserConfigValidator {
588588
value !== undefined &&
589589
(typeof value !== 'string' || !path.isAbsolute(value))
590590
) {
591+
// eslint-disable-next-line no-console
592+
console.info(
593+
path.sep,
594+
path.win32 === path,
595+
path.isAbsolute(value as string),
596+
value
597+
);
591598
return `${key} must be a valid absolute path or empty`;
592599
}
593600
return null;

0 commit comments

Comments
 (0)