misc
parent
3d9bdcae07
commit
8b4162f4e2
|
@ -43,7 +43,9 @@ namespace :coverage do
|
||||||
staging_percent = open_json(build_url).fetch("covered_percent")
|
staging_percent = open_json(build_url).fetch("covered_percent")
|
||||||
rescue OpenURI::HTTPError => exception
|
rescue OpenURI::HTTPError => exception
|
||||||
puts exception.message
|
puts exception.message
|
||||||
puts "Error getting coveralls data. Wait for build to finish and try again."
|
puts "Error getting coveralls data."
|
||||||
|
puts "Wait for staging build to finish and try again."
|
||||||
|
puts "If error continues, perhaps a blinky test failed the staging build."
|
||||||
staging_percent = 100
|
staging_percent = 100
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ export function shouldDisplay(
|
||||||
current: string | undefined, lookupData: MinOsFeatureLookup | undefined) {
|
current: string | undefined, lookupData: MinOsFeatureLookup | undefined) {
|
||||||
return function (feature: Feature): boolean {
|
return function (feature: Feature): boolean {
|
||||||
/** Escape hatch for platform developers doing offline development.
|
/** Escape hatch for platform developers doing offline development.
|
||||||
* COPY/PASTE: `localStorage.setItem("IM_A_DEVELOPER", "999.999.999");` */
|
* COPY/PASTE: `localStorage.IM_A_DEVELOPER = "1000.0.0"` */
|
||||||
const override = localStorage.getItem("IM_A_DEVELOPER");
|
const override = localStorage.getItem("IM_A_DEVELOPER");
|
||||||
const target = override || current;
|
const target = override || current;
|
||||||
if (isString(target)) {
|
if (isString(target)) {
|
||||||
|
|
Loading…
Reference in New Issue