Add synapse repo to dropdown option (#13536)

* Add synapse repo

* fix typo
This commit is contained in:
Barbara Valdez
2020-11-24 15:01:34 -08:00
committed by GitHub
parent 84822b23ac
commit d3bcb942f5

View File

@@ -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,