Skip to content

Commit 446a9ba

Browse files
committed
build: add new dependency to detect if WSL is being used.
1 parent 80f0ab9 commit 446a9ba

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"typescript": "^5.7"
109109
},
110110
"dependencies": {
111+
"is-wsl": "^3.1.0",
111112
"jsonc-parser": "^3.3.1"
112113
}
113114
}

src/configuration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as vscode from "vscode";
55
import * as fs from "node:fs";
66
import * as jsonc from "jsonc-parser";
77
import * as path from "path";
8+
import isWsl from "is-wsl";
89

910
import {Rules} from "./rules";
1011
import {Logger} from "./logger";

0 commit comments

Comments
 (0)