fix feature install, updated bundledHelmVersion from package.json

This commit is contained in:
Roman committed 2020-06-24 17:52:54 +03:00
1 parent adb8555239
commit 47ccd7c4cb
2 files changed
+9 -2

No files matched your search

+4 -1
View File
@@ -40,7 +40,7 @@
},
"config": {
"bundledKubectlVersion": "1.17.4",
"bundledHelmVersion": "3.1.2"
"bundledHelmVersion": "3.2.4"
},
"engines": {
"node": ">=12.0 <13.0"
@@ -76,14 +76,17 @@
"extraResources": [
{
"from": "src/features/",
"to": "features/",
"filter": "**/*"
},
{
"from": "locales/",
"to": "locales/",
"filter": "**/*.js"
},
{
"from": "static/",
"to": "static/",
"filter": "**/*"
},
"LICENSE"
+5 -1
View File
@@ -99,6 +99,10 @@ export abstract class Feature {
}
protected manifestPath() {
return path.join(__dirname, '..', 'features', this.name);
const devPath = path.join(__dirname, "..", 'src/features', this.name);
if(fs.existsSync(devPath)) {
return devPath;
}
return path.join(__dirname, "..", 'features', this.name);
}
}