mirror of
https://github.com/felixangell/phi.git
synced 2024-08-16 11:10:37 +03:00
moved piectable into phi; file now saves w 0644
This commit is contained in:
parent
f97faade73
commit
b942c22d3a
@ -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"
|
||||
|
@ -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
1
piecetable
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 4446bac0ef28e0391057ecb181f9eaf823a2b21e
|
Loading…
Reference in New Issue
Block a user