Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,10 @@ export async function main(argv, options) {

// Prepare output
if (!opts.noEmit) {
if (opts.binaryFile) {
// We catched lagacy field for binary output (before 0.20)
return prepareResult(Error("`binaryFile` doesn't support. Please use `outFile` instead."));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps

Usage of the --binaryFile compiler option is no longer supported. Use --outFile instead.

}
let bindings = opts.bindings || [];
let hasStdout = false;
let hasOutFile = opts.outFile != null;
Expand Down