mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
Attempt #4
This commit is contained in:
parent
ba333ddb21
commit
19780aaecf
1 changed files with 0 additions and 4 deletions
|
|
@ -13,10 +13,6 @@ const BANNER_COMMENT = '// THIS IS A AUTO-GENERATED FILE. DO NOT MODIFY MANUALLY
|
|||
const outDirRoot = path.resolve(`${cwd}/src`);
|
||||
const schemas = await glob(`${schemasBasePath}/**/*.json`);
|
||||
|
||||
// Clean output directory first
|
||||
await rm(outDirRoot, { recursive: true, force: true });
|
||||
|
||||
|
||||
await Promise.all(schemas.map(async (schemaPath) => {
|
||||
const name = path.parse(schemaPath).name;
|
||||
const version = path.basename(path.dirname(schemaPath));
|
||||
|
|
|
|||
Loading…
Reference in a new issue