Skip to content

Commit d09333c

Browse files
committed
Fix existence check
1 parent 2fb0e72 commit d09333c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/chrome.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Chrome {
3232
} else if (Platform.isLinux) {
3333
const String defaultPath = '/usr/bin/google-chrome';
3434

35-
if (FileSystemEntity.isDirectorySync(defaultPath)) {
35+
if (FileSystemEntity.isFileSync(defaultPath)) {
3636
return new Chrome.from(defaultPath);
3737
}
3838
}

0 commit comments

Comments
 (0)