Skip to content

Commit

Permalink
fix(cli): JS bindgen file now respects destDir (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLarkInn committed Feb 8, 2023
1 parent f24c9e6 commit cb529d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/build.ts
Expand Up @@ -600,7 +600,7 @@ export class BuildCommand extends Command {
this.jsBinding &&
this.jsBinding !== 'false' &&
this.appendPlatformToFilename
? join(process.cwd(), this.jsBinding)
? join(process.cwd(), this.destDir ?? '.', this.jsBinding)
: null
const idents = await processIntermediateTypeFile(
intermediateTypeFile,
Expand Down

0 comments on commit cb529d2

Please sign in to comment.