Skip to content

Commit 76fc1d1

Browse files
committed
Try fixing windows
1 parent c00b7ad commit 76fc1d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintplugin/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ await Promise.all(
1212
glob.sync(`${import.meta.dirname}/*.ts`)
1313
.filter(file => !file.endsWith('index.ts') && !file.endsWith('utils.ts'))
1414
.map(async file => {
15-
const normalizedPath = file.split(path.sep).join('/');
16-
rules[path.basename(file, '.ts')] = (await import(normalizedPath)).default;
15+
rules[path.basename(file, '.ts')] = (await import(file)).default;
1716
})
1817
);
1918

.eslintplugin/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2+
"name": "vscode-copilot-chat-eslint-plugin",
3+
"private": true,
24
"type": "module"
35
}

0 commit comments

Comments
 (0)