mirror of
https://github.com/moul/sshportal.git
synced 2024-09-20 06:56:04 +08:00
chore: small fix for build on windows
This commit is contained in:
parent
33b8e5272c
commit
dae0252857
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