mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
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
|
||||
}
|
||||
|
||||
func Init(conf Config, updates chan fmt.Stringer) Completed {
|
||||
func Init(conf Config, updates chan fmt.Stringer) error {
|
||||
// setup package dir
|
||||
os.Setenv("GOMUKS_ROOT", conf.OutputDir)
|
||||
updates <- exportDirSet{dir: conf.OutputDir}
|
||||
|
|
|
@ -61,5 +61,3 @@ type processingSync struct{}
|
|||
func (msg processingSync) String() string {
|
||||
return "Processing sync response…"
|
||||
}
|
||||
|
||||
type Completed error
|
||||
|
|
Loading…
Add table
Reference in a new issue