Navigation Menu

Skip to content

Commit

Permalink
Give domain and field names to console.log() correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 27, 2012
1 parent 57716fc commit ddb7296
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/gcs-configure-default-search-field
Expand Up @@ -23,7 +23,9 @@ if (field && field.exists()) {
field.name,
commandLine.domain.name);
} else if (commandLine.options.name) {
console.log('"%s" is not a field of "%s".');
console.log('"%s" is not a field of "%s".',
field.name,
commandLine.domain.name);
return process.exit(1);
} else {
console.log('Resetting the default search field of "%s"...',
Expand Down

0 comments on commit ddb7296

Please sign in to comment.