Skip to content

Commit acafe7c

Browse files
author
deepshekhardas
committed
fix: migrate flattenAttributes tests to vitest and cleanup buildImage
1 parent f9c84c1 commit acafe7c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Fix issue where logging objects with keys containing dots resulted in incorrect nested object structure in logs (#1510)

packages/cli-v3/src/deploy/buildImage.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export interface BuildImageOptions {
5151
buildEnvVars?: Record<string, string | undefined>;
5252
onLog?: (log: string) => void;
5353

54-
// Optional deployment spinner
55-
deploymentSpinner?: any; // Replace 'any' with the actual type if known
56-
}
54+
5755

5856
export async function buildImage(options: BuildImageOptions): Promise<BuildImageResults> {
5957
const {

packages/core/test/flattenAttributes.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { describe, it, expect } from "vitest";
12
import { flattenAttributes, unflattenAttributes } from "../src/v3/utils/flattenAttributes.js";
23

34
describe("flattenAttributes", () => {

0 commit comments

Comments
 (0)