mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix errors in 'build' script directory (#20004)
* Update build scripts * Update build files * fix build errors
This commit is contained in:
@@ -559,6 +559,13 @@ class TypeScriptLanguageServiceHost {
|
||||
this._files = files;
|
||||
this._compilerOptions = compilerOptions;
|
||||
}
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile() {
|
||||
return undefined;
|
||||
}
|
||||
fileExists() {
|
||||
return false;
|
||||
}
|
||||
// --- language service host ---------------
|
||||
getCompilationSettings() {
|
||||
return this._compilerOptions;
|
||||
|
||||
@@ -684,6 +684,14 @@ class TypeScriptLanguageServiceHost implements ts.LanguageServiceHost {
|
||||
this._compilerOptions = compilerOptions;
|
||||
}
|
||||
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile(): string | undefined {
|
||||
return undefined;
|
||||
}
|
||||
fileExists(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
// --- language service host ---------------
|
||||
|
||||
getCompilationSettings(): ts.CompilerOptions {
|
||||
|
||||
@@ -107,6 +107,13 @@ var _nls;
|
||||
this.file = ts.ScriptSnapshot.fromString(contents);
|
||||
this.lib = ts.ScriptSnapshot.fromString('');
|
||||
}
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile() {
|
||||
return undefined;
|
||||
}
|
||||
fileExists() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
function isCallExpressionWithinTextSpanCollectStep(ts, textSpan, node) {
|
||||
if (!ts.textSpanContainsTextSpan({ start: node.pos, length: node.end - node.pos }, textSpan)) {
|
||||
|
||||
@@ -155,6 +155,14 @@ module _nls {
|
||||
this.lib = ts.ScriptSnapshot.fromString('');
|
||||
}
|
||||
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile(): string | undefined {
|
||||
return undefined;
|
||||
}
|
||||
fileExists(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
getCompilationSettings = () => this.options;
|
||||
getScriptFileNames = () => [this.filename];
|
||||
getScriptVersion = () => '1';
|
||||
|
||||
@@ -108,7 +108,7 @@ function submitAllStats(productJson, commit) {
|
||||
.setAutoCollectDependencies(false)
|
||||
.setAutoDependencyCorrelation(false)
|
||||
.start();
|
||||
appInsights.defaultClient.config.endpointUrl = 'https://vortex.data.microsoft.com/collect/v1';
|
||||
appInsights.defaultClient.config.endpointUrl = 'https://mobile.events.data.microsoft.com/collect/v1';
|
||||
/* __GDPR__
|
||||
"monacoworkbench/packagemetrics" : {
|
||||
"commit" : {"classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||
|
||||
@@ -167,6 +167,13 @@ class TypeScriptLanguageServiceHost {
|
||||
this._files = files;
|
||||
this._compilerOptions = compilerOptions;
|
||||
}
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile() {
|
||||
return undefined;
|
||||
}
|
||||
fileExists() {
|
||||
return false;
|
||||
}
|
||||
// --- language service host ---------------
|
||||
getCompilationSettings() {
|
||||
return this._compilerOptions;
|
||||
|
||||
@@ -245,6 +245,14 @@ class TypeScriptLanguageServiceHost implements ts.LanguageServiceHost {
|
||||
this._compilerOptions = compilerOptions;
|
||||
}
|
||||
|
||||
// {{SQL CARBON EDIT}} - provide missing methods
|
||||
readFile(): string | undefined {
|
||||
return undefined;
|
||||
}
|
||||
fileExists(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
// --- language service host ---------------
|
||||
|
||||
getCompilationSettings(): ts.CompilerOptions {
|
||||
|
||||
Reference in New Issue
Block a user