Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kommander committed May 13, 2017
1 parent 864c891 commit b511ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -54,7 +54,7 @@ const logOptions = {

const log = logger(logOptions).namespace('aden cli'); // eslint-disable-line

if (program.dev || program.new || program.nd) {
if (program.dev) {
log.warn('Ahoy! Running in dev env.');
} else {
log.info(`Running in ${process.env.NODE_ENV || 'production (by default)'} env.`);
Expand All @@ -63,7 +63,7 @@ if (program.dev || program.new || program.nd) {
const app = express();
const config = {
logger: logOptions,
dev: program.dev || program.new || program.nd || false,
dev: program.dev || false,
attitudes: program.use,
};

Expand Down

0 comments on commit b511ebb

Please sign in to comment.