Skip to content

Commit 2c23b8e

Browse files
committed
improved message for missing _publish.yml in non-interactive publish
1 parent f568187 commit 2c23b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command/publish/deployment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export async function resolveDeployment(
114114
// if --no-prompt is specified then this is an error state
115115
if (!options.prompt) {
116116
throw new Error(
117-
`No previous publishes available to re-publish (previous publish required with --no-prompt)`,
117+
`No _publish.yml file available (_publish.yml specifying a destination required for non-interactive publish)`,
118118
);
119119
}
120120
}

0 commit comments

Comments
 (0)