Skip to content

Commit

Permalink
fix: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eikeland committed Sep 12, 2024
1 parent 34c5f67 commit 5f641d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/bin/upload-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const uploadApplication = async (options: {
/* Upload app bundle */
try {
spinner.info(
`Uploading bundle ${chalk.yellowBright(bundle)} to appKey ${chalk.yellowBright(appKey)}`
`Uploading bundle ${chalk.yellowBright(bundle)} to appKey ${chalk.yellowBright(appKey)}`,

Check warning on line 61 in packages/cli/src/bin/upload-application.ts

View workflow job for this annotation

GitHub Actions / Check Code

[eslint] reported by reviewdog 🐶 Insert `,` Raw Output: {"ruleId":"prettier/prettier","severity":1,"message":"Insert `,`","line":61,"column":101,"nodeType":null,"messageId":"insert","endLine":61,"endColumn":101,"fix":{"range":[1972,1972],"text":","}}
);

const endpoint = await getEndpointUrl(`bundles/apps/${appKey}`, env, service);
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/bin/utils/uploadAppBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { readFileSync } from 'node:fs';

/**
* Function that uploads a zip bundle to the endpoint.
*
* @param endpoint string The endpoint to upload to

Check warning on line 5 in packages/cli/src/bin/utils/uploadAppBundle.ts

View workflow job for this annotation

GitHub Actions / Check Code

[eslint] reported by reviewdog 🐶 Delete `·` Raw Output: {"ruleId":"prettier/prettier","severity":1,"message":"Delete `·`","line":5,"column":3,"nodeType":null,"messageId":"delete","endLine":5,"endColumn":4,"fix":{"range":[102,103],"text":""}}
* @param bundle string The filename to upload
* @returns Object
Expand All @@ -29,7 +28,7 @@ export const uploadAppBundle = async (endpoint: string, bundle: string) => {

if (requestBundle.status === 401 || requestBundle.status === 403) {
throw new Error(
`This is not allowed for this role on this app. HTTP message: ${requestBundle.statusText}`
`This is not allowed for this role on this app. HTTP message: ${requestBundle.statusText}`,
);

Check warning on line 32 in packages/cli/src/bin/utils/uploadAppBundle.ts

View workflow job for this annotation

GitHub Actions / Check Code

[eslint] reported by reviewdog 🐶 Insert `,` Raw Output: {"ruleId":"prettier/prettier","severity":1,"message":"Insert `,`","line":32,"column":103,"nodeType":null,"messageId":"insert","endLine":32,"endColumn":103,"fix":{"range":[987,987],"text":","}}
}

Expand Down
1 change: 0 additions & 1 deletion packages/modules/http/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type {
} from '@equinor/fusion-framework-module';

import { MsalModule } from '@equinor/fusion-framework-module-msal';
import { HttpRequestHandler } from './lib';

/**
* Defines the type for the HTTP module, which includes:
Expand Down

0 comments on commit 5f641d2

Please sign in to comment.