@@ -107,7 +107,7 @@ export function getCacheAssets(opts: BuildOptions): CacheAsset[] {
107
107
type PopulateCacheOptions = {
108
108
target : WranglerTarget ;
109
109
environment ?: string ;
110
- configPath ?: string ;
110
+ wranglerConfigPath ?: string ;
111
111
cacheChunkSize ?: number ;
112
112
} ;
113
113
@@ -148,7 +148,7 @@ async function populateR2IncrementalCache(
148
148
] ,
149
149
{
150
150
target : populateCacheOptions . target ,
151
- configPath : populateCacheOptions . configPath ,
151
+ configPath : populateCacheOptions . wranglerConfigPath ,
152
152
// R2 does not support the environment flag and results in the following error:
153
153
// Incorrect type for the 'cacheExpiry' field on 'HttpMetadata': the provided value is not of type 'date'.
154
154
environment : undefined ,
@@ -200,7 +200,7 @@ async function populateKVIncrementalCache(
200
200
runWrangler ( options , [ "kv bulk put" , quoteShellMeta ( chunkPath ) , `--binding ${ KV_CACHE_BINDING_NAME } ` ] , {
201
201
target : populateCacheOptions . target ,
202
202
environment : populateCacheOptions . environment ,
203
- configPath : populateCacheOptions . configPath ,
203
+ configPath : populateCacheOptions . wranglerConfigPath ,
204
204
logging : "error" ,
205
205
} ) ;
206
206
@@ -232,7 +232,7 @@ function populateD1TagCache(
232
232
{
233
233
target : populateCacheOptions . target ,
234
234
environment : populateCacheOptions . environment ,
235
- configPath : populateCacheOptions . configPath ,
235
+ configPath : populateCacheOptions . wranglerConfigPath ,
236
236
logging : "error" ,
237
237
}
238
238
) ;
@@ -313,7 +313,7 @@ async function populateCacheCommand(
313
313
await populateCache ( options , config , wranglerConfig , {
314
314
target,
315
315
environment : args . env ,
316
- configPath : args . configPath ,
316
+ wranglerConfigPath : args . wranglerConfigPath ,
317
317
cacheChunkSize : args . cacheChunkSize ,
318
318
} ) ;
319
319
}
0 commit comments