diff --git a/s3si.ts b/s3si.ts index f4d3620..fa60559 100644 --- a/s3si.ts +++ b/s3si.ts @@ -4,7 +4,13 @@ import { flags } from "./deps.ts"; const parseArgs = (args: string[]) => { const parsed = flags.parse(args, { - string: ["profilePath", "exporter", "skipMode", "listMethod", "nxapiPresenceUrl"], + string: [ + "profilePath", + "exporter", + "skipMode", + "listMethod", + "nxapiPresenceUrl", + ], boolean: ["help", "noProgress", "monitor", "withSummary"], alias: { "help": "h", @@ -15,7 +21,7 @@ const parseArgs = (args: string[]) => { "skipMode": ["s", "skip-mode"], "withSummary": "with-summary", "listMethod": "list-method", - "nxapiPresenceUrl": ["nxapi-presence"] + "nxapiPresenceUrl": ["nxapi-presence"], }, }); return parsed; diff --git a/src/app.ts b/src/app.ts index 1ea2223..4651e57 100644 --- a/src/app.ts +++ b/src/app.ts @@ -412,9 +412,14 @@ export class App { await this.exportOnce(); } if (isSplatoon3Active !== this.splatoon3PreviouslyActive) { - this.env.logger.debug("Splatoon 3 status has changed from", this.splatoon3PreviouslyActive, "to", isSplatoon3Active) + this.env.logger.debug( + "Splatoon 3 status has changed from", + this.splatoon3PreviouslyActive, + "to", + isSplatoon3Active, + ); } - this.splatoon3PreviouslyActive = isSplatoon3Active + this.splatoon3PreviouslyActive = isSplatoon3Active; } } async monitor() {