Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dashboard): undefined currentValue (#15917)
- Loading branch information
1 parent
d40a8a9
commit ea8ab7c
Showing
4 changed files
with
106 additions
and
1 deletion.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
lib/workers/repository/__fixtures__/package-files-digest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"dockerfile": [ | ||
{ | ||
"packageFile": "ver-and-digest/Dockerfile", | ||
"deps": [ | ||
{ | ||
"depName": "ubuntu", | ||
"currentValue": "18.04", | ||
"currentDigest": "sha256:a7ed45c4a95fbe19f9c5fb9d1ca58b2431b2a4984754be2f50ccec99d9428b79" | ||
} | ||
] | ||
}, | ||
{ | ||
"packageFile": "no-ver-no-digest/Dockerfile", | ||
"deps": [ | ||
{ | ||
"depName": "ubuntu", | ||
"replaceString": "ubuntu", | ||
"skipReason": "invalid-value" | ||
} | ||
] | ||
}, | ||
{ | ||
"packageFile": "ver-only/Dockerfile", | ||
"deps": [ | ||
{ | ||
"depName": "ubuntu", | ||
"currentValue": "20.04" | ||
} | ||
] | ||
}, | ||
{ | ||
"packageFile": "digest-only/Dockerfile", | ||
"deps": [ | ||
{ | ||
"depName": "ubuntu", | ||
"currentDigest": "sha256:06b5d30fabc1fc574f2ecab87375692299d45f8f190d9b71f512deb494114e1f" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters