mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2026-02-02 09:25:08 +01:00
fix: allow other dirs than vendor (#80)
This commit is contained in:
parent
0ba0ff5522
commit
1d729c9517
4 changed files with 36 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/fatih/color"
|
||||
"github.com/pkg/errors"
|
||||
|
|
@ -67,6 +68,8 @@ func Main() int {
|
|||
return 1
|
||||
}
|
||||
|
||||
cfg.JsonnetHome = filepath.Clean(cfg.JsonnetHome)
|
||||
|
||||
switch command {
|
||||
case initCmd.FullCommand():
|
||||
return initCommand(workdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue