Skip to content

Commit 06aa228

Browse files
committed
fix(schematics): default buildTarget was in the wrong format
1 parent 6096c95 commit 06aa228

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/schematics/deploy/actions.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('Deploy Angular apps', () => {
1616

1717
it('should call login', async () => {
1818
const spy = spyOn(firebaseMock, 'login');
19-
await deploy(firebaseMock, context, 'host', FIREBASE_PROJECT);
19+
await deploy(firebaseMock, context, 'host', BUILD_TARGET, FIREBASE_PROJECT);
2020
expect(spy).toHaveBeenCalled();
2121
});
2222

src/schematics/deploy/builder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default createBuilder<any>(
3737
context.target.project
3838
);
3939

40-
const buildTarget = options.buildTarget || `build:${context.target.project}:production`;
40+
const buildTarget = options.buildTarget || `${context.target.project}:build:production`;
4141

4242
try {
4343
await deploy(

0 commit comments

Comments
 (0)