@optimizely/opti-cli
Advanced tools
Comparing version 1.0.0-beta.14 to 1.0.0-beta.15
@@ -19,3 +19,3 @@ "use strict"; | ||
try { | ||
this.render(await Rivendell_1.Rivendell.shards()); | ||
this.render(await (await Rivendell_1.Rivendell.shards()).filter((s) => s.live)); | ||
} | ||
@@ -22,0 +22,0 @@ catch (e) { |
@@ -151,2 +151,3 @@ import { AppContext } from './AppContext'; | ||
url: string; | ||
live: boolean; | ||
} | ||
@@ -153,0 +154,0 @@ interface JwtResponse { |
@@ -29,3 +29,3 @@ "use strict"; | ||
if (shards.includes('all')) { | ||
shards = (await Rivendell_1.Rivendell.shards()).map((s) => s.id); | ||
shards = (await Rivendell_1.Rivendell.shards()).filter((s) => s.live).map((s) => s.id); | ||
} | ||
@@ -32,0 +32,0 @@ return ['us'].concat(shards.filter((s) => s !== 'us').sort()); |
@@ -834,3 +834,3 @@ { | ||
"package": { | ||
"version": "1.0.0-beta.14", | ||
"version": "1.0.0-beta.15", | ||
"name": "@optimizely/opti-cli", | ||
@@ -837,0 +837,0 @@ "license": "Apache-2.0", |
{ | ||
"name": "@optimizely/opti-cli", | ||
"version": "1.0.0-beta.14", | ||
"version": "1.0.0-beta.15", | ||
"description": "Optimizely command line interface", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/ZaiusInc/opti-cli", |
@@ -16,3 +16,3 @@ import {command, help, namespace} from 'oo-cli'; | ||
try { | ||
this.render(await Rivendell.shards()); | ||
this.render(await (await Rivendell.shards()).filter((s) => s.live)); | ||
} catch (e) { | ||
@@ -19,0 +19,0 @@ die(formatError(e)); |
@@ -174,2 +174,3 @@ import {RivendellApi} from './RivendellApi'; | ||
url: string; | ||
live: boolean; | ||
} | ||
@@ -176,0 +177,0 @@ |
@@ -33,3 +33,3 @@ import { AppManifest } from '@zaiusinc/app-sdk'; | ||
if (shards.includes('all')) { | ||
shards = (await Rivendell.shards()).map((s) => s.id); | ||
shards = (await Rivendell.shards()).filter((s) => s.live).map((s) => s.id); | ||
} | ||
@@ -36,0 +36,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
470191
9107