Permalink
Browse files

use server.json per default

  • Loading branch information...
1 parent ac4f7f5 commit 5803bea439afe1e7d366a8a204b3840077fb00f3 @kof committed Dec 28, 2010
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/codenazi.js
  2. +1 −1 readme.md
View
@@ -9,7 +9,8 @@ var fs = require('fs'),
*/
exports.options = {
files: [],
- config: {},
+ // use server.json if no config passed
+ config: join(__dirname, '..', 'conf', 'server.json'),
callback: function() {},
recursive: false,
linter: {
View
@@ -26,7 +26,7 @@ You can easily add more quality tools.
var codenazi = require('codenazi');
codenazi.run({
files: "/path/to/file" // can be an array or directory
- config: "/path/to/config.json" // can be a json object or path to conf json, see ./conf/*
+ config: "conf/server.json" // can be a json object or path to conf json, see ./conf/*
recursive: false, // read dir recursively, default to false
// callback functions, which is called on complete and errors array is passed
// see ./bin/cli.js

0 comments on commit 5803bea

Please sign in to comment.