We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a80098d commit be40598Copy full SHA for be40598
1 file changed
extensions/ql-vscode/test/unit-tests/common/unzip.test.ts
@@ -166,8 +166,11 @@ async function expectFile(
166
) {
167
const file = await open(filePath, "r");
168
169
- const stats = await file.stat();
170
- expect(stats.mode).toEqual(expectedMode);
+ // Windows doesn't really support file modes
+ if (process.platform !== "win32") {
171
+ const stats = await file.stat();
172
+ expect(stats.mode).toEqual(expectedMode);
173
+ }
174
175
const contents = await file.readFile();
176
0 commit comments