Skip to content

Commit 2978963

Browse files
committed
Build script
1 parent 33cba89 commit 2978963

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

postinstall/install.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
const fs = require('fs');
44
const path = require('path');
5-
const version = require('../lib/common/telemetry/version') || "";
5+
let version = "build";
6+
7+
try {
8+
version = require('../lib/common/telemetry/version');
9+
} catch {
10+
// Nothing to do
11+
}
612

713
console.log(`
814

0 commit comments

Comments
 (0)