Skip to content

Commit

Permalink
Improve language.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Aug 6, 2014
1 parent 5edb52b commit 50098c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/hooks/orm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ module.exports = function(sails) {
}

// Otherwise show a prompt
console.log('-----------------------------------------------------------------');
console.log();
prompt.start();
console.log('',
'Excuse my interruption, but it looks like this app'+'\n',
Expand All @@ -123,7 +125,6 @@ module.exports = function(sails) {
'http://sailsjs.org/#/documentation/concepts/ORM/model-settings.html?q=migrate)\n'
// 'command(⌘)+click to open links in the terminal'
);
console.log();
console.log('',
'In a production environment (NODE_ENV==="production") Sails always uses'+'\n',
'migrate:"safe" to protect inadvertent deletion of your data.\n',
Expand Down Expand Up @@ -156,10 +157,9 @@ module.exports = function(sails) {
console.log(' Temporarily setting `sails.config.models.migrate` to "%s"...', sails.config.models.migrate);
console.log(' (press CTRL+C to cancel-- continuing lift automatically in 2 seconds...)');
console.log();
console.log('',
'To skip this prompt next time, add a project-wide "migrate" setting\n',
'to your app. This is conventionally configured in `config/models.js`.'
);
sails.log.info('To skip this prompt, add this project-wide "migrate" setting to your app.');
sails.log.info('(conventionally, this is set in `config/models.js`)');
console.log();
setTimeout(function (){
return next();
},2200);
Expand Down

0 comments on commit 50098c2

Please sign in to comment.