@egintegrations/telemetry 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -112,7 +112,10 @@ async function appendEnvFile(envPath, content) {
|
|
|
112
112
|
console.log(`\u2713 Updated: ${envPath}`);
|
|
113
113
|
}
|
|
114
114
|
function loadSkuStandards() {
|
|
115
|
-
|
|
115
|
+
let standardsDir = path2.join(__dirname, "standards");
|
|
116
|
+
if (!fs2.existsSync(standardsDir)) {
|
|
117
|
+
standardsDir = path2.join(__dirname, "..", "src", "cli", "standards");
|
|
118
|
+
}
|
|
116
119
|
const systemTypesPath = path2.join(standardsDir, "system_types.json");
|
|
117
120
|
const platformsPath = path2.join(standardsDir, "platforms.json");
|
|
118
121
|
const systemTypes = JSON.parse(
|