不要怂,就是干,撸起袖子干!

Commit d1261e6a by Chia-liang Kao

Do not assume process, so the module can be loaded into plv8

1 parent b6350ea5
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ var Utils = require("./utils") ...@@ -5,7 +5,7 @@ var Utils = require("./utils")
, Migrator = require("./migrator") , Migrator = require("./migrator")
, QueryInterface = require("./query-interface") , QueryInterface = require("./query-interface")
if (parseFloat(process.version.replace('v', '')) < 0.6) { if (typeof process != 'undefined' && parseFloat(process.version.replace('v', '')) < 0.6) {
console.log("DEPRECATION WARNING: Support for Node.JS < v0.6 will be canceled in the next minor release.") console.log("DEPRECATION WARNING: Support for Node.JS < v0.6 will be canceled in the next minor release.")
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!