From ed867666edc357d95a59a191ca30e582be5a1aa9 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 15 Jul 2014 10:22:28 -0700 Subject: [PATCH] Specify regex directly as filter --- build/tasks/build-task.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee index 2edb578de..6ec8475b1 100644 --- a/build/tasks/build-task.coffee +++ b/build/tasks/build-task.coffee @@ -14,9 +14,9 @@ module.exports = (grunt) -> mkdir path.dirname(buildDir) if process.platform is 'darwin' - cp 'atom-shell/Atom.app', shellAppDir, filter: -> /default_app/ + cp 'atom-shell/Atom.app', shellAppDir, filter: /default_app/ else - cp 'atom-shell', shellAppDir, filter: -> /default_app/ + cp 'atom-shell', shellAppDir, filter: /default_app/ mkdir appDir