1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00

force sync option

This commit is contained in:
Kyle Spearrin 2018-05-14 14:58:18 -04:00
parent 4f3f84539d
commit 4166efceca

View File

@ -9,7 +9,7 @@ export class SyncCommand {
async run(cmd: program.Command): Promise<Response> {
try {
const result = await this.syncService.fullSync(false);
const result = await this.syncService.fullSync(cmd.force || false);
return Response.success();
} catch (e) {
return Response.success(e.toString());