mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 22:36:01 +00:00
fixes
This commit is contained in:
@@ -27,7 +27,7 @@ let modified = false;
|
||||
|
||||
function conditionMatch(condition, args) {
|
||||
if (_.isString(condition)) {
|
||||
return args.name == condition;
|
||||
return args.key == condition;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -74,9 +74,13 @@ function processJsonStep(json, args) {
|
||||
if (_.isPlainObject(value)) {
|
||||
if (_.intersection(args.allNames ?? [], Object.keys(value))?.length > 0) {
|
||||
modified = true;
|
||||
return value[args.name];
|
||||
return value[args.key];
|
||||
}
|
||||
}
|
||||
|
||||
if (value?._include) {
|
||||
return includes[value?._include];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -75,12 +75,10 @@ jobs:
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
||||
- _include:
|
||||
_name: checkout-dbgate-pro
|
||||
- _include: checkout-dbgate-pro
|
||||
_if: _premium
|
||||
|
||||
- _include:
|
||||
_name: merge-dbgate-pro
|
||||
- _include: merge-dbgate-pro
|
||||
_if: _premium
|
||||
|
||||
- name: adjustPackageJson
|
||||
|
||||
Reference in New Issue
Block a user