Skip to content
Browse files

CLI now outputs \n, jesus christ

  • Loading branch information...
1 parent 98549f9 commit 408945b41f274c2bf8b2cb01fa3a9f09ec768832 @jsantell jsantell committed Feb 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/imagediff
View
4 bin/imagediff
@@ -48,9 +48,9 @@ function commandLine (args) {
result = imagediff[fn](a, b, t);
if (fn === 'equal') {
- process.stdout.write(result ? 'true' : 'false');
+ process.stdout.write(result ? 'true\n' : 'false\n');
} else if (fn === 'diff') {
imagediff.imageDataToPNG(result, output);
- process.stdout.write('Diff of ' + aName + ' and ' + bName + ' rendered to ' + output);
+ process.stdout.write('Diff of ' + aName + ' and ' + bName + ' rendered to ' + output + '\n');
}
};

0 comments on commit 408945b

Please sign in to comment.
Something went wrong with that request. Please try again.