Skip to content

Commit

Permalink
fix: remove env folder to avoid cipher text is broken issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SLdragon committed Jul 20, 2023
1 parent a4d2ff4 commit 83502f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/api2teams/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export async function parseApi(yaml: string, options: CliOptions) {
recursive: true,
force: true
});

// Remove env folder to avoid cipher text is broken issue
await fs.rm(path.join(options.output, 'env'), {
recursive: true,
force: true
});
} else {
const output = options.output;
await fs.mkdir(output, { recursive: true });
Expand Down

0 comments on commit 83502f5

Please sign in to comment.