diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-05-28 10:07:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-28 12:55:44 +0200 |
commit | e96cdfe9664cb38c3e16cc00cc630cf6f258d547 (patch) | |
tree | d3edecddc0b6a465fecf1d2b60a391236c541e0b /testscripts | |
parent | ffdbce5787a45e8537b7a77515ca06e4deee2504 (diff) | |
download | hugo-e96cdfe9664cb38c3e16cc00cc630cf6f258d547.tar.gz hugo-e96cdfe9664cb38c3e16cc00cc630cf6f258d547.zip |
Don't create the public folder unless needed
Fixes #11031
Diffstat (limited to 'testscripts')
-rw-r--r-- | testscripts/commands/hugo__noconfig.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testscripts/commands/hugo__noconfig.txt b/testscripts/commands/hugo__noconfig.txt index c3a6f6588..21fbdb9a0 100644 --- a/testscripts/commands/hugo__noconfig.txt +++ b/testscripts/commands/hugo__noconfig.txt @@ -1,4 +1,8 @@ +mkdir mysite +cd mysite ! hugo -stderr 'Unable to locate config file or config directory'
\ No newline at end of file +stderr 'Unable to locate config file or config directory' +ls . +stdout 'Empty dir'
\ No newline at end of file |