diff --git a/lib/commands/destroy.js b/lib/commands/destroy.js index c05bf3ad6d..5b6344b5ed 100644 --- a/lib/commands/destroy.js +++ b/lib/commands/destroy.js @@ -68,7 +68,7 @@ module.exports = Command.extend({ }; if (this.settings && this.settings.usePods && !commandOptions.classic) { - commandOptions.pod = !commandOptions.pod; + commandOptions.pod = true; } if (commandOptions.in) { diff --git a/lib/commands/generate.js b/lib/commands/generate.js index c0bf5d8eb1..e9875fb8ae 100644 --- a/lib/commands/generate.js +++ b/lib/commands/generate.js @@ -58,16 +58,8 @@ module.exports = Command.extend({ args: rawArgs, }; - if (this.settings && this.settings.usePods) { - if (commandOptions.pod) { - let warning = 'Using both .ember-cli usePods settings and --pod flag '; - warning += 'together has been deprecated.'; - this.ui.writeDeprecateLine(warning); - } - - if (!commandOptions.classic) { - commandOptions.pod = !commandOptions.pod; - } + if (this.settings && this.settings.usePods && !commandOptions.classic) { + commandOptions.pod = true; } if (commandOptions.in) {