mirror of
https://github.com/status-im/metro.git
synced 2025-02-12 02:57:34 +00:00
CHORE - Remove Trailing Spaces
Summary:Remove Trailing Spaces. Why: Sometimes there are conflicts with trailing spaces Saves space Those whose tools automatically delete them will have their pr watered down with trailing space removal Closes https://github.com/facebook/react-native/pull/6787 Differential Revision: D3144704 fb-gh-sync-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8 fbshipit-source-id: d8a62f115a3f8a8a49d5b07f56c540a02af38cf8
This commit is contained in:
parent
6f9aad3641
commit
27e79ff0c3
@ -14,11 +14,11 @@ case "$CONFIGURATION" in
|
|||||||
Debug)
|
Debug)
|
||||||
# Speed up build times by skipping the creation of the offline package for debug
|
# Speed up build times by skipping the creation of the offline package for debug
|
||||||
# builds on the simulator since the packager is supposed to be running anyways.
|
# builds on the simulator since the packager is supposed to be running anyways.
|
||||||
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
|
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
|
||||||
echo "Skipping bundling for Simulator platform"
|
echo "Skipping bundling for Simulator platform"
|
||||||
exit 0;
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEV=true
|
DEV=true
|
||||||
;;
|
;;
|
||||||
"")
|
"")
|
||||||
|
@ -77,7 +77,7 @@ if (!String.prototype.includes) {
|
|||||||
if (typeof start !== 'number') {
|
if (typeof start !== 'number') {
|
||||||
start = 0;
|
start = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (start + search.length > this.length) {
|
if (start + search.length > this.length) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user