Skip to content

Commit

Permalink
Merge pull request #2 from binary1985/master
Browse files Browse the repository at this point in the history
Added LairPID Check Updated Patch Version
  • Loading branch information
binary1985 committed Apr 11, 2016
2 parents 89f6a72 + 5876c0c commit 5df3716
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

const (
version = "3.0.0"
version = "3.0.1"
tool = "cookiescan"
usage = `
Parses and imports a cookiescan JSON file into a lair project.
Expand Down Expand Up @@ -53,6 +53,9 @@ func main() {
log.Fatal("Fatal: Missing LAIR_API_SERVER environment variable")
}
lairPID := os.Getenv("LAIR_ID")
if lairPID == "" {
log.Fatal("Fatal: Missing LAIR_ID")
}
var filename string
switch len(flag.Args()) {
case 2:
Expand Down

0 comments on commit 5df3716

Please # to comment.