Merge pull request #3349 from aaronshaf/patch-1

Removed unnecessary comma
This commit is contained in:
Kevin Sawicki
2014-08-21 10:11:00 -06:00

View File

@@ -184,7 +184,7 @@ class Project extends Model
# Returns a promise that resolves to the {TextBuffer}.
buildBuffer: (absoluteFilePath) ->
if fs.getSizeSync(absoluteFilePath) >= 2 * 1048576 # 2MB
throw new Error("Atom can only handle files < 2MB, for now.")
throw new Error("Atom can only handle files < 2MB for now.")
buffer = new TextBuffer({filePath: absoluteFilePath})
@addBuffer(buffer)