Skip to content

Commit fe184cd

Browse files
committed
fix ensure lock
1 parent 301d5bf commit fe184cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/register/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async function handle(options) {
192192
}
193193

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

0 commit comments

Comments
 (0)