forked from FoundKeyGang/FoundKey
Make clean scripts non-async
Since they use rmSync, the async stuff doesn't really do anything useful.
This commit is contained in:
parent
d9a64d0a22
commit
b90f910926
2 changed files with 17 additions and 21 deletions
|
@ -1,6 +1,5 @@
|
|||
const fs = require('fs');
|
||||
|
||||
(async () => {
|
||||
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/tsconfig.tsbuildinfo', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/node_modules', { recursive: true, force: true });
|
||||
|
@ -16,4 +15,3 @@ const fs = require('fs');
|
|||
|
||||
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true });
|
||||
})();
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
const fs = require('fs');
|
||||
|
||||
(async () => {
|
||||
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/tsconfig.tsbuildinfo', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/foundkey-js/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/sw/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue