mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Add synapse repo to dropdown option (#13536)
* Add synapse repo * fix typo
This commit is contained in:
@@ -9,7 +9,7 @@ import { RemoteBookController, IAsset } from '../book/remoteBookController';
|
||||
import * as utils from '../common/utils';
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
const tigerToolboxRepo = 'repos/microsoft/tigertoolbox';
|
||||
const defaultRepos = ['repos/microsoft/tigertoolbox', 'repos/azure-samples/synapse'];
|
||||
const urlGithubRE = /^(?:https:\/\/(?:github\.com|api\.github\.com\/repos)|(?:\/)?(?:\/)?repos)([\w-.?!=&%*+:@\/]*)/g;
|
||||
|
||||
function apiGitHub(url: string): string {
|
||||
@@ -54,7 +54,7 @@ export class RemoteBookDialog {
|
||||
this.remoteLocationDropdown.onValueChanged(e => this.onRemoteLocationChanged());
|
||||
|
||||
this.githubRepoDropdown = this.view.modelBuilder.dropDown().withProperties({
|
||||
values: [tigerToolboxRepo],
|
||||
values: defaultRepos,
|
||||
value: '',
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
Reference in New Issue
Block a user