From 2b0b3b8584f5b6554f61b15fbe25dc664d9bcc7f Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Tue, 5 Nov 2024 09:14:19 +0100 Subject: commands: Print the "deploy not available" error message even if flags provided Fixes #13012 --- testscripts/withdeploy-off/deploy_off.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testscripts/withdeploy-off/deploy_off.txt (limited to 'testscripts') 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 -- cgit v1.2.3