Skip to content

Commit

Permalink
create dir if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Nov 17, 2024
1 parent 8c16094 commit da4427c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export async function writeSchemaVersionsIndex({
}) {
// make it first if it doesn't exist
await makeDir(`${tempOutput}/schemaVersions`);
await makeDir(`${output}/schemaVersions`);
const historicalSchemaVersions = await fs.readdir(`${output}/schemaVersions`);
const newSchemaVersions = await fs.readdir(`${tempOutput}/schemaVersions`);
const schemaVersions = Array.from(
Expand Down

0 comments on commit da4427c

Please sign in to comment.