mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-02-28 23:10:29 +00:00
Fix writeFile resolve argument
This commit is contained in:
parent
3f0f291002
commit
7ac79c5384
@ -56,7 +56,7 @@ public class RNFSManager extends ReactContextBaseJavaModule {
|
|||||||
outputStream.write(bytes);
|
outputStream.write(bytes);
|
||||||
outputStream.close();
|
outputStream.close();
|
||||||
|
|
||||||
promise.resolve(filepath);
|
promise.resolve(true);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
reject(promise, ex);
|
reject(promise, ex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user