mirror of
https://github.com/status-im/react-native.git
synced 2025-01-20 06:18:57 +00:00
0cd69e8a02
Summary: CI is currently failing because of a lint issue, this fixes it and a bunch of other warnings that are auto-fixable. **Test plan** Quick manual test, cosmetic changes only. Closes https://github.com/facebook/react-native/pull/16229 Differential Revision: D6009748 Pulled By: TheSavior fbshipit-source-id: cabd44fed99dd90bd0b35626492719c139c89f34
12 lines
288 B
JavaScript
12 lines
288 B
JavaScript
module.exports = function makeBuildPatch(name) {
|
|
const installPattern = new RegExp(
|
|
`\\s{4}(compile)(\\(|\\s)(project)\\(\\\':${name}\\\'\\)(\\)|\\s)`
|
|
);
|
|
|
|
return {
|
|
installPattern,
|
|
pattern: /[^ \t]dependencies {\n/,
|
|
patch: ` compile project(':${name}')\n`
|
|
};
|
|
};
|