Skip to content

Commit 610f6dc

Browse files
authored
Merge pull request #222 from codebling/tshino-fix-ci-failure
Make empty directory paths shorter
2 parents 3dfff1e + 7081253 commit 610f6dc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • scripts/get_default_keybindings

scripts/get_default_keybindings/main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ const { runTests } = require('@vscode/test-electron');
66
async function main() {
77
try {
88
// Make two empty directories to use to launch VS Code with the cleanest possible profile.
9-
const emptyDir1 = path.resolve(__dirname, 'empty1');
10-
const emptyDir2 = path.resolve(__dirname, 'empty2');
9+
// The '../../' part is intended to shorten the path and was needed as a workaround.
10+
// See: https://github.com/codebling/vs-code-default-keybindings/pull/222
11+
const emptyDir1 = path.resolve(__dirname, '../../empty1');
12+
const emptyDir2 = path.resolve(__dirname, '../../empty2');
1113
await fsPromises.mkdir(emptyDir1, { recursive: true });
1214
await fsPromises.mkdir(emptyDir2, { recursive: true });
1315

0 commit comments

Comments
 (0)