Better logging

This commit is contained in:
Skylar Grant 2022-12-03 20:16:54 -05:00
parent 216daf1e38
commit 973816757e

View File

@ -22,8 +22,8 @@ const functions = {
if (process.env.DEBUG == "true") console.log('Auger turned on.');
});
} else {
console.log('Auger turned on.');
resolve('Auger turned on.');
console.log('NOPI Auger turned on.');
resolve('NOPI Auger turned on.');
}
});
@ -37,8 +37,8 @@ const functions = {
if (process.env.DEBUG == "true") console.log('Auger turned off.');
});
} else {
console.log('Auger turned off.');
resolve('Auger turned off.');
console.log('NOPI Auger turned off.');
resolve('NOPI Auger turned off.');
}
});