moved piectable into phi; file now saves w 0644

This commit is contained in:
Felix Angell 2018-06-19 22:09:53 +01:00
parent f97faade73
commit b942c22d3a
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import (
"github.com/felixangell/fuzzysearch/fuzzy"
"github.com/felixangell/phi/cfg"
"github.com/felixangell/phi/lex"
"github.com/felixangell/piecetable"
"github.com/felixangell/phi/piecetable"
"github.com/felixangell/strife"
"github.com/sqweek/dialog"
"github.com/veandco/go-sdl2/sdl"

View File

@ -115,7 +115,7 @@ func Save(v *View, commands []string) bool {
filePath = genFileName(dir, "", ext)
}
err := ioutil.WriteFile(filePath, buffer.Bytes(), 0775)
err := ioutil.WriteFile(filePath, buffer.Bytes(), 0644)
if err != nil {
log.Println(err.Error())
}

1
piecetable Submodule

@ -0,0 +1 @@
Subproject commit 4446bac0ef28e0391057ecb181f9eaf823a2b21e