Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"react/jsx-no-target-blank": "error",
"react/jsx-fragments": "error",
"react/self-closing-comp": "error",
"no-lone-blocks": "error",
"trigger/no-thrown-unawaited-redirect": "error",
"trigger-prisma/no-unbounded-list-filter": "error",
"trigger-prisma/no-unbounded-list-filter-in-args-helper": "error"
Expand Down
1 change: 0 additions & 1 deletion packages/cli-v3/src/utilities/initialBanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export async function printInitialBanner(performUpdateCheck = true, profile?: st
Run \`npm install --save-dev trigger.dev@${newMajor}\` to update to the latest version.
After installation, run Trigger.dev with \`npx trigger.dev\`.`
);
} else {
}
} else {
$spinner.stop("On latest version");
Expand Down
5 changes: 1 addition & 4 deletions packages/core/src/v3/apiClient/core.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { z } from "zod";
import { fromZodError, ValidationError } from "zod-validation-error";
import { fromZodError } from "zod-validation-error";
import type { RetryOptions } from "../schemas/index.js";
import { calculateNextRetryDelay } from "../utils/retries.js";
import { ApiConnectionError, ApiError, ApiSchemaValidationError } from "./errors.js";
Expand Down Expand Up @@ -274,9 +274,6 @@ async function _doZodFetchWithRetries<TResponseBodySchema extends z.ZodTypeAny>(
throw error;
}

if (error instanceof ValidationError) {
}

if (options?.retry) {
const retry = { ...defaultRetryOptions, ...options.retry };

Expand Down
Loading