Permalink
Browse files

Recognise *.coffee files by default as well.

The previous pattern only matched JavaScript files. Since Lotte supports
CoffeeScript out-of-the box, accept lotte_*.coffee files by default.
  • Loading branch information...
1 parent 4ce480c commit 99473432f6eab9c3e9a4354c2f9d5dd8bf0cee6c @StanAngeloff committed Dec 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/cli.js
View
2 bin/cli.js
@@ -33,7 +33,7 @@ var defaults = optimist.
option('include', {
alias: 'I',
type: 'string',
- default: '**/lotte_*.js',
+ default: '**/lotte_*.{coffee,js}',
description: 'glob pattern to match files in PATH'
}).
option('exclude', {

0 comments on commit 9947343

Please sign in to comment.