[ci] format
This commit is contained in:
parent
c4a7ec4255
commit
7ea27f6319
1 changed files with 6 additions and 6 deletions
|
@ -32,12 +32,12 @@ async function main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// windows drive letters can sometimes be lowercase, which vite cannot process
|
// windows drive letters can sometimes be lowercase, which vite cannot process
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
const cwd = process.cwd()
|
const cwd = process.cwd();
|
||||||
const correctedCwd = cwd.slice(0, 1).toUpperCase() + cwd.slice(1)
|
const correctedCwd = cwd.slice(0, 1).toUpperCase() + cwd.slice(1);
|
||||||
if (correctedCwd !== cwd) process.chdir(correctedCwd)
|
if (correctedCwd !== cwd) process.chdir(correctedCwd);
|
||||||
}
|
}
|
||||||
|
|
||||||
return import('./dist/cli/index.js')
|
return import('./dist/cli/index.js')
|
||||||
.then(({ cli }) => cli(process.argv))
|
.then(({ cli }) => cli(process.argv))
|
||||||
|
|
Loading…
Reference in a new issue