Permalink
Browse files

Bump version (0.0.2)

  • Loading branch information...
1 parent 70fd3e2 commit e68a8f6f8bef25da382d7e2d228f80c241d17e41 @DamonOehlman committed Jan 10, 2012
Showing with 12 additions and 4 deletions.
  1. +9 −1 lib/docstar.js
  2. +3 −3 package.json
View
10 lib/docstar.js
@@ -57,7 +57,15 @@ DocStar.prototype.tweakConfig = function(updates, callback) {
};
DocStar.prototype.writeConfig = function(data, callback) {
- fs.writeFile(this.getConfigPath(), data, 'utf8', callback);
+ var configPath = this.getConfigPath();
+
+ fs.writeFile(configPath, data, 'utf8', function(err) {
+ debug('updated config file: ' + configPath + (err ? ', err: ' + err : ''));
+
+ if (callback) {
+ callback(err);
+ }
+ });
};
exports.init = function(opts, callback) {
View
6 package.json
@@ -7,17 +7,17 @@
"docs",
"sphinx"
],
- "version": "0.0.1",
+ "version": "0.0.2",
"main": "index.js",
"bin": {
- "interleave": "./bin/docstar"
+ "docstar": "./bin/docstar"
},
"engines": {
"node": ">= 0.4.x < 0.7.0"
},
"dependencies": {
"debug": "*",
- "scaffolder": "*",
+ "scaffolder": "0.3.x",
"attachmate": "0.1.x",
"miniglob": "https://github.com/isaacs/miniglob/tarball/master"
},

0 comments on commit e68a8f6

Please sign in to comment.