Skip to content

Commit 9958ee4

Browse files
review comment
1 parent 9600468 commit 9958ee4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

command-builder/deploy/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ export default createBuilder<any>(
1515
} else {
1616
const configuration = builderConfig.configuration ? builderConfig.configuration : 'production';
1717

18+
if (!context.target) {
19+
throw new Error('Cannot deploy the application without a target');
20+
}
21+
1822
const build = await context.scheduleTarget({
1923
target: 'build',
2024
project: context.target !== undefined ? context.target.project : '',

0 commit comments

Comments
 (0)