organize imports

This commit is contained in:
Rom Grk 2015-05-29 08:46:53 -04:00
parent fc5a30c005
commit 2702ba4d79

View file

@ -1,7 +1,8 @@
path = require 'path' path = require 'path'
CommandError = require './command-error'
fs = require 'fs-plus' fs = require 'fs-plus'
CommandError = require './command-error'
trySave = (func) -> trySave = (func) ->
deferred = Promise.defer() deferred = Promise.defer()
@ -103,7 +104,7 @@ class Ex
if filePath.indexOf(' ') isnt -1 if filePath.indexOf(' ') isnt -1
throw new CommandError('Only one file name allowed') throw new CommandError('Only one file name allowed')
filePath = fs.normalize filePath filePath = getFullPath filePath
atom.workspace.open(filePath) atom.workspace.open(filePath)