From 855d639f5bd3d9fa2f4983295771bc480d2744e8 Mon Sep 17 00:00:00 2001 From: rebornix Date: Thu, 17 Nov 2016 15:40:39 -0800 Subject: [PATCH] How can I fix travis failure --- src/configuration/configuration.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/configuration/configuration.ts b/src/configuration/configuration.ts index 5dfa7ad18ac..4bf9087a7cb 100644 --- a/src/configuration/configuration.ts +++ b/src/configuration/configuration.ts @@ -2,6 +2,7 @@ import * as vscode from 'vscode'; import { taskQueue } from '../../src/taskQueue'; +import { Globals } from '../../src/globals'; export type OptionValue = number | string | boolean; export type ValueMapping = { @@ -105,7 +106,7 @@ function overlapSetting(args: {codeName: string, default: OptionValue, codeValue taskQueue.enqueueTask({ promise: async () => { - if (value === undefined) { + if (value === undefined || Globals.isTesting) { return; }