Skip to content

Commit a9f4f5a

Browse files
committed
Run format script
1 parent 235cf3a commit a9f4f5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ async function run() {
100100
}
101101
endGroup();
102102

103-
// Try to get the project id from an project alias
103+
// ProjectId may be an alias. Try to get the real project id from .firebaserc
104104
const parsedProjectId = getProjectIdByAlias(projectId) || projectId;
105-
const hostname = target ? `${target}.web.app` : `${parsedProjectId}.web.app`;
105+
const hostname = target
106+
? `${target}.web.app`
107+
: `${parsedProjectId}.web.app`;
106108
const url = `https://${hostname}/`;
107109

108110
await finish({

0 commit comments

Comments
 (0)