Skip to content

Commit

Permalink
Fix an incorrect debug() call (#219)
Browse files Browse the repository at this point in the history
Fix an incorrect `debug()` call
  • Loading branch information
rwjblue authored Apr 29, 2019
2 parents d4bf21a + aa752f7 commit 7ec19e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ember-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ class EmberApp {
const currentSchemaVersion = FastBootSchemaVersions.latest;
// set schema version to 1 if not defined
schemaVersion = schemaVersion || FastBootSchemaVersions.base;
debug('Current schemaVersion from `ember-cli-fastboot` is %s while latest schema version is %s', (schemaVersion, currentSchemaVersion));

debug('Current schemaVersion from `ember-cli-fastboot` is %s while latest schema version is %s', schemaVersion, currentSchemaVersion);
if (schemaVersion > currentSchemaVersion) {
let errorMsg = chalk.bold.red('An incompatible version between `ember-cli-fastboot` and `fastboot` was found. Please update the version of fastboot library that is compatible with ember-cli-fastboot.');
throw new Error(errorMsg);
Expand Down

0 comments on commit 7ec19e5

Please sign in to comment.