Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Play nice with prettier
  • Loading branch information
Aftabnack committed Feb 16, 2018
commit c56a1bcce9c414f53af743c5fc859956ba2818ce
5 changes: 4 additions & 1 deletion packages/jest-haste-map/src/crawlers/watchman.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ module.exports = function watchmanCrawl(
if (err) {
//Error out or Log warning?
//https://facebook.github.io/watchman/docs/cmd/watch-project.html
reject(`You seem to have an older version of watchman installed. Please install version 3.1 or later`);
reject(
'You seem to have an older version of watchman installed. ' +
'Please install version 3.1 or later.\n',
);
}
});
client.on('error', error => reject(error));
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-haste-map/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ class HasteMap extends EventEmitter {
`empty \`.watchmanconfig\` file in your project's root folder or ` +
`initialize a git or hg repository in your project.\n` +
` ` +
error + '\n',
error,
);
return nodeCrawl({
data: hasteMap,
Expand Down