Skip to content
Browse files

Remove dependence on totoro-logger.

  • Loading branch information...
1 parent e9adf48 commit 75c1e5380f738353df716f952c45853bedfd9b56 @fool2fish fool2fish committed Feb 12, 2014
Showing with 1 addition and 4 deletions.
  1. +0 −3 lib/index.js
  2. +1 −1 package.json
View
3 lib/index.js
@@ -3,8 +3,6 @@
var path = require('path')
var fs = require('fs')
-var logger = require('totoro-logger').getLog()
-
exports.home = process.platform === 'win32' ? process.env.USERPROFILE : process.env.HOME
@@ -37,7 +35,6 @@ exports.readCfgFile = function(p) {
try {
return JSON.parse(fs.readFileSync(p))
} catch(e) {
- logger.debug('Fail to read config file <' + p + '>')
return {}
}
}
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "totoro-common",
- "version": "0.1.4",
+ "version": "0.1.5",
"description": "Common methods of totoro.",
"homepage": "https://github.com/totorojs/totoro-common",
"keywords": [

0 comments on commit 75c1e53

Please sign in to comment.
Something went wrong with that request. Please try again.