mirror of
https://github.com/status-im/react-native-fs.git
synced 2026-08-31 03:51:11 +00:00
Fix writeFile resolve argument
This commit is contained in:
@@ -56,7 +56,7 @@ public class RNFSManager extends ReactContextBaseJavaModule {
|
||||
outputStream.write(bytes);
|
||||
outputStream.close();
|
||||
|
||||
promise.resolve(filepath);
|
||||
promise.resolve(true);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
reject(promise, ex);
|
||||
|
||||
Reference in New Issue
Block a user