mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
unbreak rfc/xr.go after changing golang.org/x/exp/maps
shouldn't have changed this one.
This commit is contained in:
parent
d1b87cdb0d
commit
e75419aeaf
1 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue