Skip to content

Commit

Permalink
fix(cli): artifacts command backward compatibility (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Nov 8, 2023
1 parent e930a6a commit 6ec46b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface UserNapiConfig {
/**
* Whether enable default targets
*/
default: boolean
defaults: boolean
/**
* Additional targets to be compiled for
*/
Expand Down Expand Up @@ -119,7 +119,7 @@ export async function readNapiConfig(path: string): Promise<NapiConfig> {
}

if (!targets.length) {
if (userNapiConfig.triples?.default) {
if (userNapiConfig.triples?.defaults) {
targets = targets.concat(DEFAULT_TARGETS)
}

Expand Down

0 comments on commit 6ec46b7

Please sign in to comment.