Remove redundant call to files.check()
This commit is contained in:
parent
e3e22b61be
commit
5ba4fbada9
2
main.js
2
main.js
@ -12,8 +12,6 @@ while (true) {
|
|||||||
|
|
||||||
// Main function, turns the auger on, sleeps for the time given in environment variables, then turns the auger off, sleeps, repeats.
|
// Main function, turns the auger on, sleeps for the time given in environment variables, then turns the auger off, sleeps, repeats.
|
||||||
async function main() {
|
async function main() {
|
||||||
fn.files.check();
|
|
||||||
|
|
||||||
switch (fn.files.check()) {
|
switch (fn.files.check()) {
|
||||||
case "pause":
|
case "pause":
|
||||||
fn.commands.pause();
|
fn.commands.pause();
|
||||||
|
Loading…
Reference in New Issue
Block a user