forked from Mirrors/gomuks
Return error instead of custom alias from headless
This commit is contained in:
parent
b7a4d58637
commit
80c8cd62ef
2 changed files with 1 additions and 3 deletions
|
@ -22,7 +22,7 @@ type Config struct {
|
||||||
MxID id.UserID
|
MxID id.UserID
|
||||||
}
|
}
|
||||||
|
|
||||||
func Init(conf Config, updates chan fmt.Stringer) Completed {
|
func Init(conf Config, updates chan fmt.Stringer) error {
|
||||||
// setup package dir
|
// setup package dir
|
||||||
os.Setenv("GOMUKS_ROOT", conf.OutputDir)
|
os.Setenv("GOMUKS_ROOT", conf.OutputDir)
|
||||||
updates <- exportDirSet{dir: conf.OutputDir}
|
updates <- exportDirSet{dir: conf.OutputDir}
|
||||||
|
|
|
@ -61,5 +61,3 @@ type processingSync struct{}
|
||||||
func (msg processingSync) String() string {
|
func (msg processingSync) String() string {
|
||||||
return "Processing sync response…"
|
return "Processing sync response…"
|
||||||
}
|
}
|
||||||
|
|
||||||
type Completed error
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue