Skip to content

Commit

Permalink
fix: Fix js endings
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Sep 13, 2023
1 parent b06de77 commit 6e8ea96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/backend/common/vendor/JRiverApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {JRiverData} from "../infrastructure/config/source/jriver";
import request, {Request, Response} from 'superagent';
import xml2js from 'xml2js';
import {ErrorWithCause} from "pony-cause";
import {DEFAULT_RETRY_MULTIPLIER} from "../infrastructure/Atomic.js";
import {DEFAULT_RETRY_MULTIPLIER} from "../infrastructure/Atomic";

const parser = new xml2js.Parser({'async': true});

Expand Down
1 change: 0 additions & 1 deletion src/backend/ioc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {EventEmitter} from "events";
import {logPath} from "./common/logging";
import {Container} from '@foxxmd/winston';
import { WildcardEmitter } from "./common/WildcardEmitter";
//import ScrobbleClients from "./clients/ScrobbleClients.js";

const configDir = process.env.CONFIG_DIR || path.resolve(projectDir, `./config`);
//const port = process.env.PORT ?? 9078;
Expand Down
4 changes: 2 additions & 2 deletions src/backend/server/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import {ExpressHandler, ScrobbledPlayObject} from "../common/infrastructure/Atom
import MemorySource from "../sources/MemorySource";
import {capitalize} from "../../core/StringUtils";
import {source} from "common-tags";
import AbstractScrobbleClient from "../scrobblers/AbstractScrobbleClient.js";
import {sortByNewestPlayDate} from "../utils.js";
import AbstractScrobbleClient from "../scrobblers/AbstractScrobbleClient";
import {sortByNewestPlayDate} from "../utils";

let output: LogInfo[] = []

Expand Down
2 changes: 1 addition & 1 deletion src/client/components/PlayDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, {Fragment, PropsWithChildren, ReactElement} from 'react';

import {JsonPlayObject, TrackStringOptions} from "../../core/Atomic.js";
import {JsonPlayObject, TrackStringOptions} from "../../core/Atomic";
import {buildTrackString} from "../../core/StringUtils";
import {buildTrackStringReactOptions} from "../utils/index";

Expand Down

0 comments on commit 6e8ea96

Please sign in to comment.