Skip to content

Commit 7a8e1cc

Browse files
committed
fixup! Add osls to the tests suite
1 parent 2171a03 commit 7a8e1cc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/e2e/e2eUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ async function getPluginPackagePath() {
4343
{ cwd: PROJECT_DIR }
4444
);
4545
const packageFile = stdout.trim().split(/\r?\n/).pop();
46+
const packagePath = path.isAbsolute(packageFile) ? packageFile : path.join(packageDir, packageFile);
4647

47-
return path.join(packageDir, packageFile);
48+
return packagePath.replace(/\\/g, '/');
4849
})();
4950
}
5051

0 commit comments

Comments
 (0)