Skip to content

Commit 1765b89

Browse files
committed
chore: lint
1 parent 90b59a0 commit 1765b89

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

api/src/unraid-api/graph/resolvers/customization/customization.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ export class CustomizationService implements OnModuleInit {
149149
}
150150
}
151151

152-
153152
public async getCaseIconWebguiPath(): Promise<string | null> {
154153
const paths = getters.paths();
155154
if (await fileExists(paths.caseModelSource)) {

api/src/utils.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
import { BadRequestException, ExecutionContext, Logger, UnauthorizedException } from '@nestjs/common';
22
import { GqlExecutionContext } from '@nestjs/graphql';
33

4-
5-
64
import strftime from 'strftime';
75

8-
9-
106
import { UserAccount } from '@app/unraid-api/graph/user/user.model.js';
117
import { FastifyRequest } from '@app/unraid-api/types/fastify.js';
128

13-
14-
15-
16-
179
export function notNull<T>(value: T): value is NonNullable<T> {
1810
return value !== null;
1911
}
@@ -289,4 +281,4 @@ export const convertWebGuiPathToAssetPath = (webGuiPath: string): string => {
289281
// Strip the leading /usr/local/emhttp/ from the path
290282
const assetPath = webGuiPath.replace('/usr/local/emhttp/', '/');
291283
return assetPath;
292-
};
284+
};

0 commit comments

Comments
 (0)