Skip to content

Commit

Permalink
chore: remove nslog dep
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Mar 17, 2017
1 parent d0b9f74 commit 01ff01a
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 308 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,13 @@
"electron-debug": "^1.1.0",
"electron-is-dev": "^0.1.2",
"electron-log": "^2.0.0",
"electron-updater": "^1.8.1",
"keytar": "^3.0.2",
"nslog": "^3.0.0"
"electron-updater": "^1.10.2",
"keytar": "^3.0.2"
},
"devDependencies": {
"@types/debug": "0.0.29",
"@types/electron": "^1.4.32",
"electron": "1.6.2",
"@types/electron": "^1.4.33",
"electron": "1.6.3",
"electron-builder": "next",
"rimraf": "^2.6.1",
"typescript": "^2.2.1"
Expand Down
6 changes: 2 additions & 4 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ if (isDev()) {
}
}
else {
const nsLog = require("nslog")
_log = function (...args: any[]): void {
nsLog(args)
}
const log = require("electron-log")
_log = log.info.bind(log)
}

export function log(...args: any[]): void {
Expand Down
Loading

0 comments on commit 01ff01a

Please sign in to comment.