mirror of
https://github.com/moul/sshportal.git
synced 2024-12-27 02:03:55 +08:00
chore: small fix for build on windows
This commit is contained in:
parent
33b8e5272c
commit
dae0252857
1 changed files with 14 additions and 0 deletions
14
testserver_unsupported.go
Normal file
14
testserver_unsupported.go
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
|
"github.com/urfave/cli"
|
||||||
|
)
|
||||||
|
|
||||||
|
// testServer is an hidden handler used for integration tests
|
||||||
|
func testServer(c *cli.Context) error {
|
||||||
|
return fmt.Errorf("not available on windows")
|
||||||
|
}
|
Loading…
Reference in a new issue