From 8dee7e6a65399cf28106ff294cb5ee53ef693d63 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 3 Nov 2015 18:03:49 -0800 Subject: [PATCH] :art: --- src/browser/atom-portable.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/atom-portable.coffee b/src/browser/atom-portable.coffee index f409c346b..5f8f10cf6 100644 --- a/src/browser/atom-portable.coffee +++ b/src/browser/atom-portable.coffee @@ -12,7 +12,7 @@ class AtomPortable fs.copySync(existingAtomHome, @getPortableAtomHomePath()) @isPortableInstall: (platform, environmentAtomHome, defaultHome) -> - return false unless platform is 'win32' or platform is 'linux' + return false unless platform in ['linux', 'win32'] return false if environmentAtomHome return false if not fs.existsSync(@getPortableAtomHomePath()) # currently checking only that the directory exists and is writable,