From d1f09ef68e010387adf82837be88b6f70e5cd306 Mon Sep 17 00:00:00 2001 From: atanasster Date: Sun, 16 May 2021 22:46:29 +0300 Subject: [PATCH] fix: data driven cached file key --- core/instrument/src/misc/data-driven.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/instrument/src/misc/data-driven.ts b/core/instrument/src/misc/data-driven.ts index f179e8897..979e22011 100644 --- a/core/instrument/src/misc/data-driven.ts +++ b/core/instrument/src/misc/data-driven.ts @@ -31,7 +31,7 @@ export const assignDocumentData = (doc: Document, filePath: string): void => { if (fs.existsSync(dataFilePath)) { const cached = new CachedFileResource( 'data-driven', - `v1`, + dataFilePath, dataFilePath, ); let result: DocumentData | undefined = cached.get();