Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Commit e935459

Browse files
committed
Merge branch 'master' into staging
2 parents fe7ca5d + 92fa194 commit e935459

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

browser/src/App.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ export const start = async (args: string[]): Promise<void> => {
111111
arg => (path.isAbsolute(arg) ? arg : path.join(currentWorkingDirectory, arg)),
112112
)
113113

114-
const filesToOpen = normalizedFiles.filter(f => fs.existsSync(f) && fs.statSync(f).isFile())
114+
const filesToOpen = normalizedFiles.filter(f => {
115+
if (fs.existsSync(f)) {
116+
return fs.statSync(f).isFile()
117+
} else {
118+
return true
119+
}
120+
})
115121
const foldersToOpen = normalizedFiles.filter(
116122
f => fs.existsSync(f) && fs.statSync(f).isDirectory(),
117123
)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "",
44
"email": "bryphe@outlook.com",
55
"homepage": "https://www.onivim.io",
6-
"version": "0.3.8",
6+
"version": "0.3.9",
77
"description": "Code editor with a modern twist on modal editing - powered by neovim.",
88
"keywords": [
99
"vim",

0 commit comments

Comments
 (0)