We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7677f93 commit 90ba0bfCopy full SHA for 90ba0bf
test/integration-test.spec.ts
@@ -20,9 +20,9 @@ async function setupServerPath() {
20
21
// If TEST_BUILT_TARBALL is set, test the latest built ready-to-go tarball:
22
const tmpDir = tmp.dirSync({ unsafeCleanup: true }).name;
23
- const version = require(path.join('..', 'package.json')).version;
+ const version: string = require(path.join('..', 'package.json')).version;
24
25
- const channel = version.split('-')[1] || '';
+ const channel = (version.split('-')[1] || '').split('.')[0];
26
27
const tarballPath = path.join(
28
__dirname,
0 commit comments