We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9600468 commit 9958ee4Copy full SHA for 9958ee4
command-builder/deploy/index.ts
@@ -15,6 +15,10 @@ export default createBuilder<any>(
15
} else {
16
const configuration = builderConfig.configuration ? builderConfig.configuration : 'production';
17
18
+ if (!context.target) {
19
+ throw new Error('Cannot deploy the application without a target');
20
+ }
21
+
22
const build = await context.scheduleTarget({
23
target: 'build',
24
project: context.target !== undefined ? context.target.project : '',
0 commit comments