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 fb99025 + e634066 commit 8f61d29
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 @@ -17,7 +17,7 @@ import (
)

const (
version = "1.0.0"
version = "1.0.1"
tool = "rawv1"
usage = `
Imports a lair v1 JSON file into a lair v2 project.
Expand Down Expand Up @@ -52,6 +52,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 8f61d29

Please sign in to comment.