mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
builtinExtension-insiders to builtinExtension (#7973)
* builtinExtension-insiders to builtinExtension * maintain both insiders and stable. * builtinExtension.js is for build time and skipping the check for dev. * check quality and pick insider vs stable json
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "Microsoft.sqlservernotebook",
|
||||||
|
"version": "0.3.1",
|
||||||
|
"repo": "https://github.com/Microsoft/azuredatastudio"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -19,7 +19,8 @@ const ansiColors = require('ansi-colors');
|
|||||||
|
|
||||||
const root = path.dirname(path.dirname(__dirname));
|
const root = path.dirname(path.dirname(__dirname));
|
||||||
// {{SQL CARBON EDIT}}
|
// {{SQL CARBON EDIT}}
|
||||||
const builtInExtensions = require('../builtInExtensions-insiders.json');
|
const quality = process.env['VSCODE_QUALITY'];
|
||||||
|
const builtInExtensions = quality && quality === 'stable' ? require('../builtInExtensions.json') : require('../builtInExtensions-insiders.json');
|
||||||
// {{SQL CARBON EDIT}} - END
|
// {{SQL CARBON EDIT}} - END
|
||||||
const controlFilePath = path.join(os.homedir(), '.vscode-oss-dev', 'extensions', 'control.json');
|
const controlFilePath = path.join(os.homedir(), '.vscode-oss-dev', 'extensions', 'control.json');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user