Skip to content

Commit

Permalink
Porting fix for missing FF flag (#8396)
Browse files Browse the repository at this point in the history
* Update runvstest.ts

* Update task.json

* Update task.loc.json
  • Loading branch information
Nitin Gurram authored Sep 24, 2018
1 parent 27f201e commit b8a7d30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Tasks/VsTestV2/runvstest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function isFeatureFlagEnabled(collectionUri: string, featureFlag: string, token:
tl.debug('Unable to get feature flag ' + featureFlag + ' Error:' + err.message);
resolve(state);
}
if (faModel.effectiveState) {
if (faModel && faModel.effectiveState) {
state = ('on' === faModel.effectiveState.toLowerCase());
tl.debug(' Final feature flag state: ' + state);
}
Expand Down
4 changes: 2 additions & 2 deletions Tasks/VsTestV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version": {
"Major": 2,
"Minor": 140,
"Patch": 4
"Patch": 5
},
"demands": [
"vstest"
Expand Down Expand Up @@ -617,4 +617,4 @@
"diagnosticsInput": "Diagnostics enabled : %s",
"UncPathNotSupported": "Path to test sources search folder cannot be a UNC path. Please provide a rooted path or a path relative to $(System.DefaultWorkingDirectory)."
}
}
}
4 changes: 2 additions & 2 deletions Tasks/VsTestV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"version": {
"Major": 2,
"Minor": 140,
"Patch": 4
"Patch": 5
},
"demands": [
"vstest"
Expand Down Expand Up @@ -617,4 +617,4 @@
"diagnosticsInput": "ms-resource:loc.messages.diagnosticsInput",
"UncPathNotSupported": "ms-resource:loc.messages.UncPathNotSupported"
}
}
}

0 comments on commit b8a7d30

Please sign in to comment.