mirror of
https://github.com/Lightcord/Lightcord.git
synced 2025-04-12 00:55:40 +02:00
commit
75bc92dc78
@ -109,7 +109,12 @@ async function main(){
|
||||
console.info("Starting build")
|
||||
|
||||
console.info("Reseting existent directory...")
|
||||
await fs.promises.rmdir("./distApp", {"recursive": true})
|
||||
try{
|
||||
await fs.promises.rmdir("./distApp", {"recursive": true})
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
await fs.promises.mkdir(PROJECT_DIR+"/distApp/dist", {"recursive": true})
|
||||
|
||||
console.info("Executing command `npm run compile`")
|
||||
@ -278,4 +283,4 @@ main()
|
||||
.catch(err => {
|
||||
console.error(err)
|
||||
process.exit(1)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user