mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-18 04:13:51 +08:00
fixed flow error on Travis
Summary: Closes https://github.com/facebook/react-native/pull/6530 Differential Revision: D3071277 fb-gh-sync-id: e2cfd2d2a8cbf5a862dcdb79fe834b1fdbcba107 shipit-source-id: e2cfd2d2a8cbf5a862dcdb79fe834b1fdbcba107
This commit is contained in:
committed by
Facebook Github Bot 7
parent
fa44607bf6
commit
da5596c97d
@@ -22,7 +22,8 @@ if (!process.env.GITHUB_TOKEN) {
|
||||
}
|
||||
if (!process.env.PULL_REQUEST_NUMBER) {
|
||||
console.error('Missing PULL_REQUEST_NUMBER. Example: 4687');
|
||||
process.exit(1);
|
||||
// for master branch don't throw and error
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
var GitHubApi = require('github');
|
||||
|
||||
Reference in New Issue
Block a user