mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
code reverted
This commit is contained in:
@ -75,7 +75,7 @@ export class FileSystemAccess {
|
||||
|
||||
public fileExists(path: string): boolean {
|
||||
var file = new java.io.File(path);
|
||||
return file.exists() && !file.isDirectory();
|
||||
return file.exists();
|
||||
}
|
||||
|
||||
public folderExists(path: string): boolean {
|
||||
|
@ -148,7 +148,7 @@ export class FileSystemAccess {
|
||||
|
||||
public fileExists(path: string): boolean {
|
||||
var result = this.exists(path);
|
||||
return result.exists && !result.isDirectory;
|
||||
return result.exists;
|
||||
}
|
||||
|
||||
public folderExists(path: string): boolean {
|
||||
|
Reference in New Issue
Block a user