From 7a7623ca1435663fc696ab486eb6d46ecbad7fbf Mon Sep 17 00:00:00 2001 From: Cookie Engineer Date: Wed, 29 Sep 2021 17:19:03 +0200 Subject: [PATCH] :bug: Fix --- pacman-backup.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pacman-backup.js b/pacman-backup.js index f7b181a..6fbe215 100755 --- a/pacman-backup.js +++ b/pacman-backup.js @@ -26,10 +26,10 @@ const USER = process.env.SUDO_USER || process.env.USER || process.env.USERNAME if (ACTION !== null) { console.log(':: pacman-backup ' + ACTION); - console.log(' -> FOLDER: ' + FOLDER !== null ? ('"' + FOLDER + '"') : '(none)'); - console.log(' -> MIRROR: ' + MIRROR !== null ? ('"' + MIRROR + '"') : '(none)'); - console.log(' -> SERVER: ' + SERVER !== null ? ('"' + SERVER + '"') : '(none)'); - console.log(' -> USER: ' + USER !== null ? ('"' + USER + '"') : '(none)'); + console.log(' -> FOLDER: ' + (FOLDER !== null ? ('"' + FOLDER + '"') : '(none)')); + console.log(' -> MIRROR: ' + (MIRROR !== null ? ('"' + MIRROR + '"') : '(none)')); + console.log(' -> SERVER: ' + (SERVER !== null ? ('"' + SERVER + '"') : '(none)')); + console.log(' -> USER: ' + (USER !== null ? ('"' + USER + '"') : '(none)')); console.log(''); }