Skip to content

Commit a75482f

Browse files
committed
Import format adjust
1 parent 01e8a61 commit a75482f

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

.git-blame-ignore-revs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#Prettierify
22
b4b7cd186d9223b8f96386bdda6702b4867cd429
33
#Switch to oxfmt
4-
72a3dc61b83d21dfc63c1882ed33bf79f21bac1e
4+
72a3dc61b83d21dfc63c1882ed33bf79f21bac1e
5+
#Update import formatting
6+
01e8a61f24387a528550f1b12e0a3c6ff7bd46f3

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
# Disable linting until we switch to ox or biome
3535
# - name: 💄 Prettier Formatting Check
3636
# run: pnpm format-check
37-
# - name: 🧹 Lint
38-
# run: pnpm lint
37+
- name: 🧹 Lint
38+
run: pnpm lint
3939
- name: 👷 Build
4040
run: pnpm build
4141
# - name: 🧪 Test

src/api/api.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { retry } from "@octokit/plugin-retry"
22
import { throttling } from "@octokit/plugin-throttling"
33
import { Octokit } from "@octokit/rest"
4+
import { version } from "package.json"
45

56
import { conditionalRequest } from "~/api/conditionalRequests"
67
import { getGitHubApiUri } from "~/configuration/configReader"
78
import { createOctokitLogger } from "~/log"
89

9-
import { version } from "package.json"
10-
1110
export const userAgent = `VS Code GitHub Actions (${version})`
1211

1312
const GhaOctokit = Octokit.plugin(conditionalRequest, throttling, retry)

src/treeViews/settings/environmentSecretsNode.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import * as vscode from "vscode"
22

3-
import {GitHubRepoContext} from "~/git/repository"
4-
import {Environment} from "~/model"
5-
import {EmptyNode} from "./emptyNode"
6-
import {SecretNode} from "./secretNode"
3+
import { GitHubRepoContext } from "~/git/repository"
4+
import { Environment } from "~/model"
5+
6+
import { EmptyNode } from "./emptyNode"
7+
import { SecretNode } from "./secretNode"
78

89
export type EnvironmentSecretsCommandArgs = Pick<EnvironmentSecretsNode, "gitHubRepoContext" | "environment">
910

@@ -30,7 +31,7 @@ export class EnvironmentSecretsNode extends vscode.TreeItem {
3031
environment_name: this.environment.name,
3132
per_page: 100,
3233
},
33-
response => response.data.map(s => new SecretNode(this.gitHubRepoContext, s, this.environment)),
34+
(response) => response.data.map((s) => new SecretNode(this.gitHubRepoContext, s, this.environment)),
3435
)
3536
} catch (e) {
3637
await vscode.window.showErrorMessage((e as Error).message)

0 commit comments

Comments
 (0)