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

Commit 430e2a6c by sdepold

fixed path

1 parent 9abfb6d7
Showing with 2 additions and 2 deletions
......@@ -6,8 +6,8 @@ const path = require("path")
, Sequelize = require(__dirname + '/../index')
, _ = Sequelize.Utils._
var configPath = __dirname + '/../config'
, migrationsPath = __dirname + '/../migrations'
var configPath = process.cwd() + '/config'
, migrationsPath = process.cwd() + '/migrations'
, configFile = configPath + '/config.json'
, configPathExists = path.existsSync(configPath)
, configFileExists = path.existsSync(configFile)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!