fix(check-deps): normalize paths in posix (#23513)
This commit is contained in:
parent
def24c0a14
commit
ba69de8c7c
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
const fs = require('fs');
|
||||
const ts = require('typescript');
|
||||
const path = require('path');
|
||||
const path = require('path').posix;
|
||||
|
||||
const packagesDir = path.normalize(path.join(__dirname, '..', 'packages'));
|
||||
|
||||
|
|
@ -249,4 +249,4 @@ checkDeps().catch(e => {
|
|||
|
||||
function isDirectory(dir) {
|
||||
return fs.existsSync(dir) && fs.statSync(dir).isDirectory();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue