We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent afa0e2d commit c6b4e84Copy full SHA for c6b4e84
cli/index.js
@@ -856,6 +856,10 @@ export async function main(argv, options) {
856
857
// Prepare output
858
if (!opts.noEmit) {
859
+ if (opts.binaryFile) {
860
+ // We catched lagacy field for binary output (before 0.20)
861
+ return prepareResult(Error("`binaryFile` doesn't support. Please use `outFile` instead."));
862
+ }
863
let bindings = opts.bindings || [];
864
let hasStdout = false;
865
let hasOutFile = opts.outFile != null;
0 commit comments