-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1721269
commit e269ebf
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
import { downloadAndUnzipVSCode, resolveCliArgsFromVSCodeExecutablePath } from '@vscode/test-electron'; | ||
|
||
import * as semver from "semver"; | ||
const config = require('../../../package.json'); | ||
const vscodeVer = config.engines.vscode; | ||
const vscodeVersion = semver.minVersion(vscodeVer)!.version; | ||
export default async () => { | ||
const vscodePath = await downloadAndUnzipVSCode('insiders'); | ||
const vscodePath = await downloadAndUnzipVSCode(vscodeVersion!); | ||
resolveCliArgsFromVSCodeExecutablePath(vscodePath); | ||
}; |