x/build: fix broken build

This commit is contained in:
Blake Mizerany 2024-04-07 16:40:10 -07:00
parent be7fe0d6d8
commit f595dea189
2 changed files with 1 additions and 1 deletions

View File

@ -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)
}