mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: bug (#4744)
This commit is contained in:
parent
9daf893704
commit
1f05006e7a
@ -37,5 +37,6 @@ export function tarPlugin(cwd: string, log: PkgLog) {
|
|||||||
const tarFiles = fg.sync(files, { cwd });
|
const tarFiles = fg.sync(files, { cwd });
|
||||||
|
|
||||||
fs.mkdirpSync(path.dirname(tarball));
|
fs.mkdirpSync(path.dirname(tarball));
|
||||||
|
fs.rmSync(tarball, { force: true });
|
||||||
return tar.c({ gzip: true, file: tarball, cwd }, tarFiles);
|
return tar.c({ gzip: true, file: tarball, cwd }, tarFiles);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user