Caching is making testing difficult - want to confirm app migrations are doing what they are expected to do
This commit is contained in:
parent
51fad26be0
commit
66789888ac
|
@ -26,9 +26,9 @@ export async function getAppMigrationVersion(appId: string): Promise<string> {
|
|||
let metadata: AppMigrationDoc | undefined = await cache.get(cacheKey)
|
||||
|
||||
// We don't want to cache in dev, in order to be able to tweak it
|
||||
if (metadata && !env.isDev()) {
|
||||
return metadata.version
|
||||
}
|
||||
// if (metadata && !env.isDev()) {
|
||||
// return metadata.version
|
||||
// }
|
||||
|
||||
let version
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue