Skip to content

Commit 85453b9

Browse files
committed
wip: check what path sep is when using windows runner
1 parent 3d8765c commit 85453b9

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
@@ -586,6 +586,13 @@ export class CliUserConfigValidator extends SnippetShellUserConfigValidator {
586586
value !== undefined &&
587587
(typeof value !== 'string' || !path.isAbsolute(value))
588588
) {
589+
// eslint-disable-next-line no-console
590+
console.info(
591+
path.sep,
592+
path.win32 === path,
593+
path.isAbsolute(value as string),
594+
value
595+
);
589596
return `${key} must be a valid absolute path or empty`;
590597
}
591598
return null;

0 commit comments

Comments
 (0)