unbreak rfc/xr.go after changing golang.org/x/exp/maps

shouldn't have changed this one.
This commit is contained in:
Mechiel Lukkien 2024-02-08 15:08:26 +01:00
parent d1b87cdb0d
commit e75419aeaf
No known key found for this signature in database

View file

@ -11,13 +11,14 @@ import (
"fmt"
htmltemplate "html/template"
"log"
"maps"
"os"
"path/filepath"
"regexp"
"sort"
"strconv"
"strings"
"golang.org/x/exp/maps"
)
var destdir string
@ -32,7 +33,7 @@ func xwritefile(path string, buf []byte) {
p := filepath.Join(destdir, path)
os.MkdirAll(filepath.Dir(p), 0755)
err := os.WriteFile(p, buf, 0644)
xcheckf(err, "writing file", p)
xcheckf(err, "writing file %s", p)
}
func main() {