@@ -13,7 +13,7 @@ export const build = async (config: DeployConfig | Required<DeployConfig>, getPr
13
13
14
14
// TODO log to firebase-tools
15
15
const logger = new logging . Logger ( 'firebase-tools' ) ;
16
- logger . subscribe ( it => console . log ( it ) ) ;
16
+ logger . subscribe ( it => console . log ( it . message ) ) ;
17
17
18
18
const host = workspaces . createWorkspaceHost ( new NodeJsAsyncHost ( ) ) ;
19
19
const { workspace } = await workspaces . readWorkspace ( getProjectPath ( ) , host ) ;
@@ -30,7 +30,6 @@ export const build = async (config: DeployConfig | Required<DeployConfig>, getPr
30
30
project = angularJson . defaultProject ;
31
31
if ( ! project ) throw `angular.json missing defaultProject` ;
32
32
}
33
-
34
33
// TODO if there are multiple projects warn
35
34
const workspaceProject = workspace . projects . get ( project ) ;
36
35
if ( ! workspaceProject ) throw `No project ${ project } found.` ;
@@ -67,7 +66,7 @@ export const build = async (config: DeployConfig | Required<DeployConfig>, getPr
67
66
// TODO test and warn if production doesn't exist, fallback to default
68
67
const configuration = 'production' ;
69
68
if ( workspaceProject . targets . has ( 'build' ) )
70
- browserTarget = { project, target : 'built ' , configuration } ;
69
+ browserTarget = { project, target : 'build ' , configuration } ;
71
70
if ( workspaceProject . targets . has ( 'server' ) )
72
71
serverTarget = { project, target : 'server' , configuration } ;
73
72
}
0 commit comments