Skip to content

Commit

Permalink
Support build for DOT argument
Browse files Browse the repository at this point in the history
  • Loading branch information
moisespsena committed Mar 26, 2020
1 parent d585e77 commit c2b5656
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xb/cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ var (
return
}

if len(args) > 0 && (args[0] == "." || args[0] == "."+string(filepath.Separator)) {
args = args[1:]
}

if len(args) > 0 {
var (
embedded []xbindata.ManyConfigEmbedded
Expand Down

0 comments on commit c2b5656

Please sign in to comment.