Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest authored and ORBAT committed Sep 4, 2018
1 parent 32d7692 commit 52edb00
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import (
"bytes"
"encoding/json"
"flag"
"fmt"
"go/format"
"io/ioutil"
"log"
"os"
"regexp"
"sort"
"strings"
Expand All @@ -35,11 +33,6 @@ func main() {
flag.PrintDefaults()
return
}
if opts.template == "" {
fmt.Println("[error] missing -t flag")
flag.PrintDefaults()
os.Exit(1)
}
sourceFile, err := ioutil.ReadFile(opts.jsonSource)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 52edb00

Please sign in to comment.