From 4166efceca53b52b1468b9e9c58a33240aecc53a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 14 May 2018 14:58:18 -0400 Subject: [PATCH] force sync option --- src/commands/sync.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/sync.command.ts b/src/commands/sync.command.ts index c7b259f50f..d3a0483af1 100644 --- a/src/commands/sync.command.ts +++ b/src/commands/sync.command.ts @@ -9,7 +9,7 @@ export class SyncCommand { async run(cmd: program.Command): Promise { 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());