x/build: fix broken build
This commit is contained in:
parent
be7fe0d6d8
commit
f595dea189
@ -53,7 +53,7 @@ func Open(dir string) (*Server, error) {
|
||||
|
||||
func (s *Server) Build(ref string, f model.File) error {
|
||||
mp := model.ParseName(ref)
|
||||
if !mp.CompleteWithoutBuild() {
|
||||
if !mp.CompleteNoBuild() {
|
||||
return fmt.Errorf("%w: %q", ErrIncompleteRef, ref)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user