small thing for the client

This commit is contained in:
Snazzah 2024-06-22 17:02:13 -05:00
parent 085e79c7bd
commit dda2eb921a
Signed by: Snazzah
GPG Key ID: EA479766A94CEB61

View File

@ -8,6 +8,8 @@ import MDBReader from 'mdb-reader';
import { diff } from 'just-diff';
import { version } from './package.json';
console.log(`FDLogUp Client v${version}`);
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
@ -115,8 +117,5 @@ process.on("SIGINT", () => {
});
rl.close();
console.log(`FDLogUp Client v${version}`);
// "Upload first" option
if (process.argv[2] === '--upload') _upload();