Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Commit

Permalink
Fix an issue where MapNode failed to emit a raw type object (always n…
Browse files Browse the repository at this point in the history
…ull)
  • Loading branch information
Daisuke Baba committed Jan 22, 2017
1 parent f33ea5d commit c78ed50
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ You can try the following flow for testing the node behaviors after installing t
```

# Revision History
* 1.1.2
- Fix an issue where MapNode failed to emit a raw type object (always null)

* 1.1.1
- Remove redundant dependency

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-sequence-functions",
"version": "1.1.1",
"version": "1.1.2",
"description": "Node-RED nodes for sequence processing functions",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/sequence-functions.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function(RED) {
if (this.mapToString) {
return String(result);
} else {
result;
return result;
}
};
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion tests/sequence-functions.test.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('sequence-functions module', () => {
});
assert.equal('my-name', node.name);
assert.isDefined(node.mapFunction);
assert.isNotString(node.mapFunction(1));
assert.isNumber(node.mapFunction(1));
});
});
});
Expand Down

0 comments on commit c78ed50

Please sign in to comment.