Skip to content

Commit

Permalink
Merge 27373ea into c824667
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfisher committed Sep 20, 2016
2 parents c824667 + 27373ea commit 5bfb179
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/db/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ Db.prototype.createFn = function (name, fn, options) {
var body = fnDef.body
.replace(/\'/g, "\\'")
.replace(/\"/g, '\\"')
.replace(/\n/g, '')
.trim();

// NOTE: We can't do `PARAMETERS []` because else orientdb throws an error
Expand Down

0 comments on commit 5bfb179

Please sign in to comment.