Skip to content

Commit b8a7d30

Browse files
author
Nitin Gurram
authored
Porting fix for missing FF flag (#8396)
* Update runvstest.ts * Update task.json * Update task.loc.json
1 parent 27f201e commit b8a7d30

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tasks/VsTestV2/runvstest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function isFeatureFlagEnabled(collectionUri: string, featureFlag: string, token:
9292
tl.debug('Unable to get feature flag ' + featureFlag + ' Error:' + err.message);
9393
resolve(state);
9494
}
95-
if (faModel.effectiveState) {
95+
if (faModel && faModel.effectiveState) {
9696
state = ('on' === faModel.effectiveState.toLowerCase());
9797
tl.debug(' Final feature flag state: ' + state);
9898
}

Tasks/VsTestV2/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"version": {
1818
"Major": 2,
1919
"Minor": 140,
20-
"Patch": 4
20+
"Patch": 5
2121
},
2222
"demands": [
2323
"vstest"
@@ -617,4 +617,4 @@
617617
"diagnosticsInput": "Diagnostics enabled : %s",
618618
"UncPathNotSupported": "Path to test sources search folder cannot be a UNC path. Please provide a rooted path or a path relative to $(System.DefaultWorkingDirectory)."
619619
}
620-
}
620+
}

Tasks/VsTestV2/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"version": {
1818
"Major": 2,
1919
"Minor": 140,
20-
"Patch": 4
20+
"Patch": 5
2121
},
2222
"demands": [
2323
"vstest"
@@ -617,4 +617,4 @@
617617
"diagnosticsInput": "ms-resource:loc.messages.diagnosticsInput",
618618
"UncPathNotSupported": "ms-resource:loc.messages.UncPathNotSupported"
619619
}
620-
}
620+
}

0 commit comments

Comments
 (0)