@sidneys/logger
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -46,5 +46,7 @@ 'use strict'; | ||
let electronArgvObj = {}; | ||
const { remote } = tryRequire('electron'); | ||
if (remote && remote.process) { | ||
try { electronArgvObj = minimist(remote.process.argv); } catch (err) {} | ||
const electron = tryRequire('electron'); | ||
if (electron && electron.remote && electron.remote.process) { | ||
try { | ||
electronArgvObj = minimist(electron.remote.process.argv); | ||
} catch (err) {} | ||
} | ||
@@ -51,0 +53,0 @@ |
{ | ||
"name": "@sidneys/logger", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "ES6-based logger with focus on Electron cross-platform Desktop apps", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7744
106