mirror of
https://codeberg.org/scip/ts.git
synced 2025-12-17 12:31:06 +01:00
little refactoring
This commit is contained in:
@@ -135,8 +135,9 @@ func InitConfig(output io.Writer) (*Config, error) {
|
||||
if conf.Examples {
|
||||
_, err := fmt.Fprintln(output, Examples)
|
||||
if err != nil {
|
||||
Die(err)
|
||||
Die("failed write to output file handle", err)
|
||||
}
|
||||
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user