Skip to content

Commit

Permalink
fix ensure lock
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Aug 20, 2024
1 parent 301d5bf commit fe184cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/register/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async function handle(options) {
}

const writeLock = arg.option('write-lock');
await ensureLock(ensureLockOptions, writeLock === undefined);
await ensureLock(ensureLockOptions, writeLock);
console.log(chalk.green(`the bridge ${_identifyRegisterName(register)} registered`));
}

Expand Down

0 comments on commit fe184cd

Please sign in to comment.