File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,6 @@ export const resolveConfig = async function (opts): Promise<Config> {
172
172
173
173
const updatedIntegrations = await handleAutoInstallExtensions ( {
174
174
featureFlags,
175
- accounts,
176
175
integrations,
177
176
siteId,
178
177
accountId,
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ interface AutoInstallOptions {
18
18
accountId : string
19
19
token : string
20
20
cwd : string
21
- accounts : any
22
21
integrations : IntegrationResponse [ ]
23
22
offline : boolean
24
23
testOpts : any
@@ -32,7 +31,6 @@ export async function handleAutoInstallExtensions({
32
31
accountId,
33
32
token,
34
33
cwd,
35
- accounts,
36
34
integrations,
37
35
offline,
38
36
testOpts = { } ,
@@ -94,18 +92,6 @@ export async function handleAutoInstallExtensions({
94
92
}
95
93
96
94
try {
97
- const account = accounts ?. find ( ( account : any ) => account . id === accountId )
98
- if ( ! account ) {
99
- console . error ( `Failed to auto install extension(s): Couldn't find 'account' with id '${ accountId } '` , {
100
- accountId,
101
- siteId,
102
- cwd,
103
- offline,
104
- mode,
105
- } )
106
- return integrations
107
- }
108
-
109
95
const packageJson = getPackageJSON ( cwd )
110
96
if (
111
97
! packageJson ?. dependencies ||
@@ -126,7 +112,7 @@ export async function handleAutoInstallExtensions({
126
112
const results = await Promise . all (
127
113
extensionsToInstall . map ( async ( ext ) => {
128
114
console . log (
129
- `Installing extension "${ ext . slug } " on team "${ account . name } " required by package(s): "${ ext . packages . join (
115
+ `Installing extension "${ ext . slug } " on team "${ accountId } " required by package(s): "${ ext . packages . join (
130
116
'",' ,
131
117
) } "`,
132
118
)
You can’t perform that action at this time.
0 commit comments