Skip to content

Commit 94aba50

Browse files
committed
alpha 18
rules from actions fixed :boar:
1 parent 260cf9e commit 94aba50

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

lib/Parser.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,9 @@ Parser.prototype = {
254254
}
255255
debug('Rules extracted from action %o', rule);
256256
// use child transform or parent transform or nothing
257-
const transform = actionsResults.transform || rule.transform || false;
258-
rule = actionsResults;
259-
rule.transform = transform;
260-
return this._processRule(rule);
257+
actionsResults.transform = actionsResults.transform || rule.transform || false;
261258
}
262-
return this._parseScope(rule, offset, actionsResults);
259+
return this._parseScope(actionsResults, offset, actionsResults);
263260
}, this)
264261
.then(function (results) {
265262
parseResults = results;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"email": "balakirev.andrey@gmail.com"
3232
}
3333
],
34-
"version": "0.2.0-alpha.17",
34+
"version": "0.2.0-alpha.18",
3535
"repository": {
3636
"type": "git",
3737
"url": "git+https://github.com/redco/goose-parser.git"

0 commit comments

Comments
 (0)