mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Linter fix.
This commit is contained in:
@@ -579,7 +579,8 @@ function getExtraVarsDetails () {
|
|||||||
|
|
||||||
function getArtifactsDetails (val) {
|
function getArtifactsDetails (val) {
|
||||||
const artifacts = val || resource.model.get('artifacts');
|
const artifacts = val || resource.model.get('artifacts');
|
||||||
if (!artifacts || (Object.entries(artifacts).length === 0 && artifacts.constructor === Object)) {
|
if (!artifacts || (Object.entries(artifacts).length === 0 &&
|
||||||
|
artifacts.constructor === Object)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user