mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2025-12-06 06:56:10 +00:00
fix by eslint rules
This commit is contained in:
@@ -18,9 +18,8 @@ export default class DownloadTask {
|
||||
this.bytesWritten = taskInfo.bytesWritten ?? 0
|
||||
this.totalBytes = taskInfo.totalBytes ?? 0
|
||||
|
||||
if (this.#parseable(taskInfo.metadata)) {
|
||||
if (this.#parseable(taskInfo.metadata))
|
||||
this.metadata = JSON.parse(taskInfo.metadata)
|
||||
}
|
||||
|
||||
if (originalTask) {
|
||||
this._beginHandler = originalTask._beginHandler
|
||||
|
||||
@@ -14,4 +14,4 @@ module.exports = {
|
||||
},
|
||||
}),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@ module.exports = {
|
||||
dependency: {
|
||||
platforms: {
|
||||
ios: {
|
||||
project: "./ios/RNBackgroundDownloader.xcodeproj"
|
||||
project: './ios/RNBackgroundDownloader.xcodeproj',
|
||||
},
|
||||
android: {
|
||||
sourceDir: "./android"
|
||||
sourceDir: './android',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user