Files in src should not use the atom export

This commit is contained in:
probablycorey
2013-10-10 10:15:54 -07:00
parent 6d29d8de48
commit 6abb5a2390

View File

@@ -1,4 +1,4 @@
{fs} = require 'atom'
fs = require 'fs'
ipc = require 'ipc'
path = require 'path'
Q = require 'q'
@@ -181,7 +181,7 @@ class RootView extends View
promise = project.openAsync(filePath, {initialLine}) if not editSession
fileSize = 0
fileSize = fs.statSync(absoluteFilePath).size if fs.exists(absoluteFilePath)
fileSize = fs.statSync(absoluteFilePath).size if fsUtils.exists(absoluteFilePath)
Q(editSession ? promise)
.then (editSession) =>