Permalink
Browse files

fix if the license file already exists

  • Loading branch information...
1 parent 6327033 commit b8ad1bd1ac0ef6134f53f317d0b42d3643a8e55b @substack committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/substack.json
@@ -61,7 +61,7 @@
var file = process.cwd() + '/LICENSE';
exists(file, function (ex) {
- if (ex) return;
+ if (ex) return cb(null, 'MIT');
fs.readFile(licenseFile, function (err, src) {
if (err) return cb(err);
fs.writeFile(file, src);

0 comments on commit b8ad1bd

Please sign in to comment.