Skip to content

Commit

Permalink
Fix path problems in test for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jun 3, 2024
1 parent b22ebbf commit 21fb526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ function getProjectRoot(context) {
}

function setup(pathToTest, projectRoot, args = []) {
return execFileSync('node', [`${projectRoot}create-stylelint.mjs`, ...args], {
cwd: `${projectRoot}${pathToTest}`,
return execFileSync('node', [path.join(projectRoot, 'create-stylelint.mjs'), ...args], {
cwd: path.join(projectRoot, pathToTest),
}).toString();
}

Expand Down

0 comments on commit 21fb526

Please sign in to comment.