mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-11 23:50:05 +01:00
fix: unmarshal legacyImports
This commit is contained in:
parent
e28e7ff55b
commit
fcac885ce2
3 changed files with 5 additions and 4 deletions
|
|
@ -73,6 +73,7 @@ func (jf JsonnetFile) MarshalJSON() ([]byte, error) {
|
|||
var s jsonFile
|
||||
|
||||
s.Version = Version
|
||||
s.LegacyImports = jf.LegacyImports
|
||||
|
||||
for _, d := range jf.Dependencies {
|
||||
s.Dependencies = append(s.Dependencies, d)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue