From 2702ba4d793d186a77488d6fb9fec5f1e9038cba Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Fri, 29 May 2015 08:46:53 -0400 Subject: [PATCH] organize imports --- lib/ex.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index 5ad6be5..a41a846 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -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)