Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
Fix require of optimist.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrynearson committed Dec 23, 2011
1 parent 6709304 commit 4884cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process.argv[0] = 'node';
var path = require('path');
var config = path.join(process.env.HOME, '.tilemill/config.json');
if (path.existsSync(config)) {
var argv = require('bones/node_modules/optimist').argv;
var argv = require('optimist').argv;
argv.config = argv.config || config;
}

Expand Down

0 comments on commit 4884cc1

Please sign in to comment.