Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from wxy/wxy-patch-1
Browse files Browse the repository at this point in the history
fix bug for syntax
  • Loading branch information
wxy authored May 15, 2019
2 parents d6919ed + 2f12117 commit 5d88e16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/truffle-core/lib/commands/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const command = {
]
},

determineDryRunSettings: (config, options) => {
determineDryRunSettings: function(config, options) {
// Source: ethereum.stackexchange.com/questions/17051
const networkWhitelist = [
1, // Mainnet (ETH & ETC)
Expand Down Expand Up @@ -181,7 +181,7 @@ const command = {
const {
dryRunOnly,
dryRunAndMigrations
} = this.determineDryRunSettings(conf, options);
} = command.determineDryRunSettings(conf, options);

if (dryRunOnly) {
conf.dryRun = true;
Expand All @@ -191,7 +191,7 @@ const command = {
conf.dryRun = true;

await setupDryRunEnvironmentThenRunMigrations(conf);
let { config, proceed } = await this.prepareConfigForRealMigrations(
let { config, proceed } = await command.prepareConfigForRealMigrations(
currentBuild,
options
);
Expand Down

0 comments on commit 5d88e16

Please sign in to comment.