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