We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7988f commit b3c97b9Copy full SHA for b3c97b9
CHANGELOG.md
@@ -1,3 +1,6 @@
1
+Версия 0.8.47:
2
+ * Фикс build-flow: принимаем недекларированные опции в заменах.
3
+
4
Версия 0.8.45:
5
* Мелкие фиксы.
6
lib/build-flow.js
@@ -574,7 +574,11 @@ var BuildFlow = inherit( /** @lends BuildFlow.prototype */ {
574
_preprocessTargetName: function (targetName) {
575
var _this = this;
576
return targetName.replace(/{([^}]+)}/g, function (s, optName) {
577
- return _this[_this._optionFieldNames[optName]] || '';
+ if (_this._optionFieldNames[optName]) {
578
+ return _this[_this._optionFieldNames[optName]] || '';
579
+ } else {
580
+ return _this.getOption(optName, '');
581
+ }
582
});
583
},
584
setResult: function (value) {
0 commit comments