organize imports
This commit is contained in:
parent
fc5a30c005
commit
2702ba4d79
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
path = require 'path'
|
||||
fs = require 'fs-plus'
|
||||
|
||||
CommandError = require './command-error'
|
||||
fs = require 'fs-plus'
|
||||
|
||||
trySave = (func) ->
|
||||
deferred = Promise.defer()
|
||||
|
|
@ -103,7 +104,7 @@ class Ex
|
|||
if filePath.indexOf(' ') isnt -1
|
||||
throw new CommandError('Only one file name allowed')
|
||||
|
||||
filePath = fs.normalize filePath
|
||||
filePath = getFullPath filePath
|
||||
atom.workspace.open(filePath)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue