Don't throw errors for Watchman not found
Summary: Changelog: Don't throw an error if Watchman was not found Reviewed By: aigoncharov Differential Revision: D48778121 fbshipit-source-id: bfe3599e41d8c6fbe4ea89393ace5213914a2611
This commit is contained in:
committed by
Facebook GitHub Bot
parent
554d2f9b83
commit
c91652d5de
@@ -70,6 +70,10 @@ function transformLogLevel(level: LoggerTypes, message: string) {
|
||||
if (message.endsWith('Network Error')) {
|
||||
return 'warn';
|
||||
}
|
||||
|
||||
if (message.includes('Watchman was not found in PATH')) {
|
||||
return 'warn';
|
||||
}
|
||||
}
|
||||
|
||||
return level;
|
||||
|
||||
Reference in New Issue
Block a user