From cb529d21cf92dfaa279bfe10dde5ad87441b47ba Mon Sep 17 00:00:00 2001 From: Sean Larkin Date: Tue, 7 Feb 2023 22:14:55 -0800 Subject: [PATCH] fix(cli): JS bindgen file now respects destDir (#1481) --- cli/src/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/build.ts b/cli/src/build.ts index 1f3429b2..e118c18b 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -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,