aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-11-05 09:14:19 +0100
committerBjørn Erik Pedersen <[email protected]>2024-11-05 11:40:42 +0100
commit2b0b3b8584f5b6554f61b15fbe25dc664d9bcc7f (patch)
tree89543ae87d06a7232635ab1c8a0f9abccf2aad21 /testscripts
parent801035bb7a38beae214105e872a4cdc49ac610ce (diff)
downloadhugo-2b0b3b8584f5b6554f61b15fbe25dc664d9bcc7f.tar.gz
hugo-2b0b3b8584f5b6554f61b15fbe25dc664d9bcc7f.zip
commands: Print the "deploy not available" error message even if flags provided
Fixes #13012
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/withdeploy-off/deploy_off.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/testscripts/withdeploy-off/deploy_off.txt b/testscripts/withdeploy-off/deploy_off.txt
new file mode 100644
index 000000000..5e6c65d27
--- /dev/null
+++ b/testscripts/withdeploy-off/deploy_off.txt
@@ -0,0 +1,3 @@
+! hugo deploy --force
+# Issue 13012
+stderr 'deploy not supported in this version of Hugo' \ No newline at end of file