( buildPath, fbSourcePath, relativeDestPath )
| 28 | } |
| 29 | |
| 30 | async function syncReactNativeHelper( |
| 31 | buildPath, |
| 32 | fbSourcePath, |
| 33 | relativeDestPath |
| 34 | ) { |
| 35 | fbSourcePath = |
| 36 | typeof fbSourcePath === 'string' ? fbSourcePath : DEFAULT_FB_SOURCE_PATH; |
| 37 | |
| 38 | if (fbSourcePath.charAt(fbSourcePath.length - 1) !== '/') { |
| 39 | fbSourcePath += '/'; |
| 40 | } |
| 41 | |
| 42 | const destPath = resolvePath(fbSourcePath + relativeDestPath); |
| 43 | await doSync(buildPath, destPath); |
| 44 | } |
| 45 | |
| 46 | async function syncReactNative(fbSourcePath) { |
| 47 | await syncReactNativeHelper( |
no test coverage detected