electron-log
Advanced tools
Comparing version 4.4.0 to 4.4.1
{ | ||
"name": "electron-log", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -7,2 +7,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var electron; | ||
@@ -123,3 +124,4 @@ try { | ||
if (typeof process.execPath === 'string') { | ||
return process.execPath.toLowerCase().endsWith('electron'); | ||
var execFileName = path.basename(process.execPath).toLowerCase(); | ||
return execFileName.startsWith('electron'); | ||
} | ||
@@ -126,0 +128,0 @@ |
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
101514
3062