From 22a7c25104c4b1020c5871fbb41a57a82fded3c2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 31 Dec 2013 15:04:04 -0800 Subject: [PATCH] :lipstick: Remove unneeded requires, variables, commas, and parens --- spec/spec-helper-platform.coffee | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/spec/spec-helper-platform.coffee b/spec/spec-helper-platform.coffee index d7d7de10b..90c5e7a5d 100644 --- a/spec/spec-helper-platform.coffee +++ b/spec/spec-helper-platform.coffee @@ -1,8 +1,6 @@ path = require 'path' fs = require 'fs-plus' -{_} = require 'atom' - ## Platform specific helpers module.exports = # Public: Returns true if being run from within Windows @@ -18,20 +16,20 @@ module.exports = fs.removeSync(evilFilesPath) if fs.existsSync(evilFilesPath) fs.mkdirSync(evilFilesPath) - if (@isWindows()) + if @isWindows() filenames = [ - "a_file_with_utf8.txt", - "file with spaces.txt", + "a_file_with_utf8.txt" + "file with spaces.txt" "utfa\u0306.md" ] else filenames = [ - "a_file_with_utf8.txt", - "file with spaces.txt", - "goddam\nnewlines", - "quote\".txt", + "a_file_with_utf8.txt" + "file with spaces.txt" + "goddam\nnewlines" + "quote\".txt" "utfa\u0306.md" ] for filename in filenames - fd = fs.writeFileSync(path.join(evilFilesPath, filename), 'evil file!', flag: 'w') + fs.writeFileSync(path.join(evilFilesPath, filename), 'evil file!', flag: 'w')