Skip to content

Commit b3c97b9

Browse files
committed
Version 0.8.47
1 parent 3c7988f commit b3c97b9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Версия 0.8.47:
2+
* Фикс build-flow: принимаем недекларированные опции в заменах.
3+
14
Версия 0.8.45:
25
* Мелкие фиксы.
36

lib/build-flow.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,11 @@ var BuildFlow = inherit( /** @lends BuildFlow.prototype */ {
574574
_preprocessTargetName: function (targetName) {
575575
var _this = this;
576576
return targetName.replace(/{([^}]+)}/g, function (s, optName) {
577-
return _this[_this._optionFieldNames[optName]] || '';
577+
if (_this._optionFieldNames[optName]) {
578+
return _this[_this._optionFieldNames[optName]] || '';
579+
} else {
580+
return _this.getOption(optName, '');
581+
}
578582
});
579583
},
580584
setResult: function (value) {

0 commit comments

Comments
 (0)