Merge branch 'master' into staging

This commit is contained in:
Bryan Phelps 2018-12-17 08:30:01 -08:00
commit e935459e1d
2 changed files with 8 additions and 2 deletions

View File

@ -111,7 +111,13 @@ export const start = async (args: string[]): Promise<void> => {
arg => (path.isAbsolute(arg) ? arg : path.join(currentWorkingDirectory, arg)),
)
const filesToOpen = normalizedFiles.filter(f => fs.existsSync(f) && fs.statSync(f).isFile())
const filesToOpen = normalizedFiles.filter(f => {
if (fs.existsSync(f)) {
return fs.statSync(f).isFile()
} else {
return true
}
})
const foldersToOpen = normalizedFiles.filter(
f => fs.existsSync(f) && fs.statSync(f).isDirectory(),
)

View File

@ -3,7 +3,7 @@
"author": "",
"email": "bryphe@outlook.com",
"homepage": "https://www.onivim.io",
"version": "0.3.8",
"version": "0.3.9",
"description": "Code editor with a modern twist on modal editing - powered by neovim.",
"keywords": [
"vim",