Skip to content

Commit 165f6e3

Browse files
Update src/commands/init/ai-rules.ts
Co-authored-by: Eduardo Bouças <[email protected]>
1 parent 127f8b4 commit 165f6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/init/ai-rules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ const fetchProjectInfo = async (url: string): Promise<ProjectInfo> => {
301301

302302
const getRepoUrlFromProjectId = async (api: NetlifyAPI, projectId: string): Promise<string> => {
303303
try {
304-
const SiteInfo = (await api.getSite({ siteId: projectId })) as SiteInfo
304+
const siteInfo = (await api.getSite({ siteId: projectId })) as SiteInfo
305305
const repoUrl = SiteInfo.build_settings?.repo_url
306306

307307
if (!repoUrl) {

0 commit comments

Comments
 (0)