Content-Length: 296511 | pFad | http://github.com/NativeScript/NativeScript/pull/10644/files

E9 fix(core): Corrected undefined references in file system access by CatchABus · Pull Request #10644 · NativeScript/NativeScript · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Corrected undefined references in file system access #10644

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/file-system/file-system-access.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export class FileSystemAccess implements IFileSystemAccess {
return org.nativescript.widgets.Async.File.copySync(src, dest, getApplicationContext());
} catch (error) {
if (onError) {
onError(exception);
onError(error);
}
}

Expand Down
4 changes: 2 additions & 2 deletions packages/core/file-system/file-system-access.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class FileSystemAccess {
try {
didRemove = fileManager.removeItemAtPathError(dest);
return fileManager.copyItemAtPathToPathError(src, dest);
} catch (error) {
} catch (exception) {
if (onError) {
if (didRemove) {
onError(error);
Expand All @@ -285,7 +285,7 @@ export class FileSystemAccess {
}
}
if (onError) {
onError(exception);
onError(error);
}
}

Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/pull/10644/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy