Skip to content

Commit

Permalink
How can I fix travis failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Nov 17, 2016
1 parent a6eeb94 commit 855d639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/configuration/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 855d639

Please sign in to comment.