Skip to content

Commit 350070c

Browse files
authored
Merge pull request #8 from Loupi/fix-create-sigabort
Fix wrong function called for pattern property in WalkCreate.
2 parents 571a619 + a9b424f commit 350070c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

addon/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ void NodeBin::WalkOnCreate() const {
783783
void NodeBin::WalkCreate() const {
784784
AddMember("type", "create");
785785
AddMember("unique", (bool)cypher_ast_create_is_unique(node));
786-
Node("pattern", cypher_ast_merge_get_pattern_path);
786+
Node("pattern", cypher_ast_create_get_pattern);
787787
}
788788

789789
void NodeBin::WalkSet() const {

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "npm run build-ts && npm run tslint"
1111
},
1212
"dependencies": {
13-
"cypher-parser": "^0.1.0"
13+
"cypher-parser": "^0.1.2"
1414
},
1515
"devDependencies": {
1616
"@types/node": "^10.1.3",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cypher-parser",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A Node addon on top of libcypher-parser, used to parse and lint cypher queries.",
55
"os": [
66
"darwin",

0 commit comments

Comments
 (0)