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

Commit c3a57e3b by Sascha Depold

fixed global variable leak

1 parent d6a2b63b
Showing with 1 additions and 1 deletions
......@@ -51,7 +51,7 @@ var BusterHelpers = module.exports = {
},
getTestDialect: function() {
envDialect = process.env.DIALECT || 'mysql'
var envDialect = process.env.DIALECT || 'mysql'
if (this.getSupportedDialects().indexOf(envDialect) === -1) {
throw new Error('The dialect you have passed is unknown. Did you really mean: ' + envDialect)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!