File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -58,18 +58,6 @@ const init = async (_options: OptionValues, command: BaseCommand) => {
58
58
throw new Error ( `Please login with netlify login before running this command` )
59
59
}
60
60
61
- // let site: Awaited<ReturnType<typeof command.netlify.api.getSite>>
62
- // try {
63
- // site = await command.netlify.api.getSite({
64
- // siteId: command.siteId,
65
- // // @ts -expect-error -- feature_flags is not in the types
66
- // feature_flags: 'cli',
67
- // })
68
- // } catch (e) {
69
- // throw new Error(`Error getting site, make sure you are logged in with netlify login`, {
70
- // cause: e,
71
- // })
72
- // }
73
61
if ( ! siteInfo . account_id || ! siteInfo . name ) {
74
62
throw new Error ( `Error getting site, make sure you are logged in with netlify login` )
75
63
}
You can’t perform that action at this time.
0 commit comments