Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

chore(ci): reformat types.ts and regenerate bindings to keep main green (#990)

arookieofccc4a29fa5de1
diff --git a/src/bindings.ts b/src/bindings.ts
index bb162c122..b0743a8ce 100644
--- a/src/bindings.ts
+++ b/src/bindings.ts
@@ -5330,16 +5330,16 @@ export type RevisionChange = {
export type RootKind = "source" | "test" | "resources" | "testResources" | "excluded";
-export type RubySettings = {
- /** Project interpreter executable; empty = auto-detect (`.ruby-version`, mise / asdf, else `ruby` on PATH). */
- interpreter?: string,
-};
-
export type RouteSource = {
path: string,
text: string,
};
+export type RubySettings = {
+ /** Project interpreter executable; empty = auto-detect (`.ruby-version`, mise / asdf, else `ruby` on PATH). */
+ interpreter?: string,
+};
+
export type RunConfig = RunConfig_Serialize | RunConfig_Deserialize;
export type RunConfig_Deserialize = {
diff --git a/src/features/run/types.ts b/src/features/run/types.ts
index 172b07443..50961667c 100644
--- a/src/features/run/types.ts
+++ b/src/features/run/types.ts
@@ -457,7 +457,9 @@ export function withParams(config: RunConfig, params: Record<string, string>, ty
...(config.kind === "dotnet" && config.beforeLaunch === undefined
? { beforeLaunch: [{ kind: "dotnetBuild", target: "" }] }
: {}),
- ...(config.kind === "dotnet-test" || config.kind === "django-test" || config.kind === "rspec" ? { isTest: true } : {}),
+ ...(config.kind === "dotnet-test" || config.kind === "django-test" || config.kind === "rspec"
+ ? { isTest: true }
+ : {}),
params: params.goKind ? { ...params, programArgv: JSON.stringify(parseArgs(params.programArgs ?? "")) } : params,
...(config.kind === "go-test" && !config.id.startsWith("template:") ? { kind: "go" } : {}),
...(params.goKind ? { isTest: params.goKind === "test" } : {}),