mirror of https://github.com/onivim/oni.git
Merge branch 'master' into staging
This commit is contained in:
commit
e935459e1d
|
@ -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(),
|
||||
)
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue