Specify regex directly as filter

This commit is contained in:
Kevin Sawicki
2014-07-15 10:22:28 -07:00
parent 84ff28ee69
commit ed867666ed

View File

@@ -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