diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-06-13 10:47:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 10:47:51 +0200 |
commit | 0541a1b57d5a0ab2c582e866a130bc24823271e1 (patch) | |
tree | f020276aa6445bf1dbd23548d5919f989a4dfe6b | |
parent | 258884f44fc3ea6e4954936ddeb24e739eb8f58a (diff) |
Fix handling of aliases (e.g. hugo serve)
Fixes #11090
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 2 | ||||
-rw-r--r-- | testscripts/commands/server_render_to_memory.txt | 3 |
3 files changed, 5 insertions, 2 deletions
@@ -18,7 +18,7 @@ require ( github.com/bep/lazycache v0.2.0 github.com/bep/mclib v1.20400.20402 github.com/bep/overlayfs v0.6.0 - github.com/bep/simplecobra v0.3.1 + github.com/bep/simplecobra v0.3.2 github.com/bep/tmc v0.5.1 github.com/clbanning/mxj/v2 v2.5.7 github.com/cli/safeexec v1.0.1 @@ -186,6 +186,8 @@ github.com/bep/overlayfs v0.6.0 h1:sgLcq/qtIzbaQNl2TldGXOkHvqeZB025sPvHOQL+DYo= github.com/bep/overlayfs v0.6.0/go.mod h1:NFjSmn3kCqG7KX2Lmz8qT8VhPPCwZap3UNogXawoQHM= github.com/bep/simplecobra v0.3.1 h1:Ms9BucXcJRiGbPYpaJyxItYceQN/pvEZ0+V1+cUcsZ4= github.com/bep/simplecobra v0.3.1/go.mod h1:EOp6bCKuuHmwA9bQcRC8LcDB60co2Cmht5X4xMIOwf0= +github.com/bep/simplecobra v0.3.2 h1:dVcflWm7l31zxV8QUrJqQ/de/satzqY8ukq0aL0pZDE= +github.com/bep/simplecobra v0.3.2/go.mod h1:EOp6bCKuuHmwA9bQcRC8LcDB60co2Cmht5X4xMIOwf0= github.com/bep/tmc v0.5.1 h1:CsQnSC6MsomH64gw0cT5f+EwQDcvZz4AazKunFwTpuI= github.com/bep/tmc v0.5.1/go.mod h1:tGYHN8fS85aJPhDLgXETVKp+PR382OvFi2+q2GkGsq0= github.com/bep/workers v1.0.0 h1:U+H8YmEaBCEaFZBst7GcRVEoqeRC9dzH2dWOwGmOchg= diff --git a/testscripts/commands/server_render_to_memory.txt b/testscripts/commands/server_render_to_memory.txt index 53ab74aa5..368efe41d 100644 --- a/testscripts/commands/server_render_to_memory.txt +++ b/testscripts/commands/server_render_to_memory.txt @@ -1,7 +1,8 @@ # Test the hugo server command. # We run these tests in parallel so let Hugo decide which port to use. -hugo server & +# Deliberately using the alias 'serve' here. +hugo serve & waitServer |