File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @workflow/cli " : patch
3+ " @workflow/web " : patch
4+ ---
5+
6+ Update default fallback path for connecting to local world
Original file line number Diff line number Diff line change @@ -54,7 +54,13 @@ const possibleWorkflowDataPaths = [
5454] ;
5555
5656async function findWorkflowDataDir ( cwd : string ) {
57- for ( const path of possibleWorkflowDataPaths ) {
57+ const paths = [
58+ ...possibleWorkflowDataPaths ,
59+ // This will be the case for testing CLI/Web from the CLI/Web
60+ // package folders directly
61+ '../../workbench/nextjs-turbopack/.next/workflow-data' ,
62+ ] ;
63+ for ( const path of paths ) {
5864 const fullPath = join ( cwd , path ) ;
5965 if (
6066 await access ( fullPath )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { WorldConfig } from '@/lib/config-world';
88// Default configuration
99const DEFAULT_CONFIG : WorldConfig = {
1010 backend : 'embedded' ,
11- dataDir : '../../workbench/nextjs-turbopack /.next/workflow-data' ,
11+ dataDir : './.next/workflow-data' ,
1212 port : '3000' ,
1313 env : 'production' ,
1414} ;
You can’t perform that action at this time.
0 commit comments