Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
refactor(config): amend to coffeescript - do not require, but allow
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Jan 10, 2014
1 parent 7259614 commit 0257b5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
*/

// Coffee is required here to enable config files written in coffee-script.
// It's not directly used in this file.
require('coffee-script');
// It's not directly used in this file, and not required.
try {
require('coffee-script');
} catch (e) {
// Intentinally blank - ignore if coffee-script is not available.
}

var util = require('util');
var path = require('path')
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"saucelabs": "~0.1.0",
"glob": ">=3.1.14",
"adm-zip": ">=0.4.2",
"optimist": "~0.6.0",
"coffee-script": "~1.6.3"
"optimist": "~0.6.0"
},
"devDependencies": {
"expect.js": "~0.2.0",
Expand Down

0 comments on commit 0257b5f

Please sign in to comment.