mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
e89644d796
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import tar from 'tar';
|
import { create } from 'tar';
|
||||||
import fg from 'fast-glob';
|
import fg from 'fast-glob';
|
||||||
import fs from 'fs-extra';
|
import fs from 'fs-extra';
|
||||||
|
|
||||||
@ -38,5 +38,5 @@ export function tarPlugin(cwd: string, log: PkgLog) {
|
|||||||
|
|
||||||
fs.mkdirpSync(path.dirname(tarball));
|
fs.mkdirpSync(path.dirname(tarball));
|
||||||
fs.rmSync(tarball, { force: true });
|
fs.rmSync(tarball, { force: true });
|
||||||
return tar.c({ gzip: true, file: tarball, cwd }, tarFiles);
|
return create({ gzip: true, file: tarball, cwd }, tarFiles);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user