Skip to content

Commit

Permalink
Remove dependence on totoro-logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
fool2fish committed Feb 12, 2014
1 parent e9adf48 commit 75c1e53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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 {}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit 75c1e53

Please sign in to comment.