mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
Quit early if node < 4
Summary: Before we would display this warning at the top and have the packager throw thousands of lines of errors because of es6 syntax. Before: <img width="602" alt="screen shot 2016-02-04 at 1 49 27 pm" src="https://cloud.githubusercontent.com/assets/197597/12831357/a72bdc0a-cb48-11e5-9b81-dde895eaf113.png"> After: <img width="1440" alt="screen shot 2016-02-04 at 2 04 50 pm" src="https://cloud.githubusercontent.com/assets/197597/12831364/af1c16a0-cb48-11e5-949c-c470938f8b49.png"> Closes https://github.com/facebook/react-native/pull/5767 Reviewed By: svcscm Differential Revision: D2902978 Pulled By: androidtrunkagent fb-gh-sync-id: c0193c3b1e36778d61aa9013f0c294f8c3475442
This commit is contained in:
parent
aea67c8890
commit
e1f04bf2e3
@ -36,5 +36,6 @@ module.exports = function() {
|
||||
marginRight: 1,
|
||||
paddingBottom: 1,
|
||||
}));
|
||||
process.exit(1);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user