Fix linting error

Thx @MarshallOfSound
This commit is contained in:
Didier Roche 2018-05-16 14:34:13 +02:00
parent 5df0fd9dc8
commit 6feec2e2a5

View file

@ -164,7 +164,7 @@ const mainStartupScript = packageJson.main || 'index.js'
const KNOWN_XDG_DESKTOP_VALUES = ['Pantheon', 'Unity:Unity7', 'pop:GNOME']
function currentPlatformSupportsAppIndicator() {
function currentPlatformSupportsAppIndicator () {
if (process.platform !== 'linux') return false
const currentDesktop = process.env.XDG_CURRENT_DESKTOP