Selaa lähdekoodia

fix import DSL install Github plugin failed (#16362)

tags/1.1.2
Junjie.M 7 kuukautta sitten
vanhempi
commit
e324e59930
No account linked to committer's email address
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      web/service/use-plugins.ts

+ 2
- 1
web/service/use-plugins.ts Näytä tiedosto

if (item.type === 'github') { if (item.type === 'github') {
const data = item as GitHubItemAndMarketPlaceDependency const data = item as GitHubItemAndMarketPlaceDependency
// From local bundle don't have data.value.github_plugin_unique_identifier // From local bundle don't have data.value.github_plugin_unique_identifier
if (!data.value.github_plugin_unique_identifier) {
uniqueIdentifier = data.value.github_plugin_unique_identifier!
if (!uniqueIdentifier) {
const { unique_identifier } = await post<uploadGitHubResponse>('/workspaces/current/plugin/upload/github', { const { unique_identifier } = await post<uploadGitHubResponse>('/workspaces/current/plugin/upload/github', {
body: { body: {
repo: data.value.repo!, repo: data.value.repo!,

Loading…
Peruuta
Tallenna