Skip to content

Commit 5aab85b

Browse files
fix(next): remove unused dataDir option from withWorkflow() (#1619)
The `dataDir` option was accepted in the type definition but never read — `WORKFLOW_LOCAL_DATA_DIR` was unconditionally set to `.next/workflow-data`. Remove the dead option to avoid confusion.
1 parent 5f138f2 commit 5aab85b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.changeset/remove-dead-datadir.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@workflow/next": patch
3+
---
4+
5+
Remove unused `dataDir` option from `withWorkflow()` config. The option was accepted in the type but never read.

packages/next/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export function withWorkflow(
3838
lazyDiscovery?: boolean;
3939
local?: {
4040
port?: number;
41-
dataDir?: string;
4241
};
4342
};
4443
} = {}

0 commit comments

Comments
 (0)