Permalink
Browse files

Fix observers path

  • Loading branch information...
1 parent bd34670 commit 629e6f17989e446de0eff71bff1d7c875a4a8516 Anatoliy Chakkaev committed May 27, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 install.js
View
@@ -29,9 +29,10 @@ if (path.existsSync(app.root + '/config') && !path.existsSync(app.root + '/confi
console.log('new file ./config/twitter.yml');
}
-if (path.existsSync(app.root + '/observers') && !path.existsSync(app.root + '/observers/twitter_observer.js')) {
- fs.writeFileSync(app.root + '/observers/twitter_observer.js', observer);
- console.log('new file ./observers/twitter_observer.js');
+if (path.existsSync(app.root + '/app/observers') && !path.existsSync(app.root + '/app/observers/twitter_observer.js')) {
+ fs.writeFileSync(app.root + '/app/observers/twitter_observer.js', observer);
+ console.log('new file ./app/observers/twitter_observer.js');
}
process.exit(0);
+

0 comments on commit 629e6f1

Please sign in to comment.