Skip to content

🎥 Make videos programmatically with React

Update ensure-version-match.js

Jonny Burgerb2da410fb873
diff --git a/packages/lambda/ensure-version-match.js b/packages/lambda/ensure-version-match.js
index 877e0f7244..9ae4ff617b 100644
--- a/packages/lambda/ensure-version-match.js
+++ b/packages/lambda/ensure-version-match.js
@@ -6,8 +6,8 @@ const contents = fs.readFileSync('extracted/index.js', 'utf-8');
fs.rmSync('extracted', {recursive: true});
const [, inLambda] = contents.match(/exports\.VERSION = "(.*)"/);
-const inConstants = fs.readFileSync('dist/shared/constants.js', 'utf-8');
-const [, inPkg] = inConstants.match(/exports\.VERSION = '(.*)'/);
+const inConstants = fs.readFileSync('../core/dist/version.js', 'utf-8');
+const [, inPkg] = inConstants.match(/exports\.VERSION = "(.*)"/);
if (inLambda !== inPkg) {
console.error(