From 521ecc883be7023ef6a7df74ace9cc79ad829fdf Mon Sep 17 00:00:00 2001 From: mabashian Date: Sat, 3 Aug 2019 09:26:50 -0400 Subject: [PATCH] Fix jshint errors --- .../host-summary-popover/host-summary-popover.controller.js | 4 ++-- .../host-summary-popover/host-summary-popover.directive.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.controller.js b/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.controller.js index 9072497580..8ed36170ce 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.controller.js +++ b/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.controller.js @@ -1,5 +1,5 @@ -export default [ '$scope', 'Empty', 'Wait', 'GetBasePath', 'Rest', 'ProcessErrors', '$state', - function($scope, Empty, Wait, GetBasePath, Rest, ProcessErrors, $state) { +export default [ '$scope', 'Empty', 'Wait', 'GetBasePath', 'Rest', 'ProcessErrors', + function($scope, Empty, Wait, GetBasePath, Rest, ProcessErrors) { $scope.gatherRecentJobs = function(event) { if (!Empty($scope.inventory.id)) { diff --git a/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.directive.js b/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.directive.js index 0bfaaefddb..9dc9bccb7f 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.directive.js +++ b/awx/ui/client/src/inventories-hosts/inventories/list/host-summary-popover/host-summary-popover.directive.js @@ -25,7 +25,7 @@ export default ['templateUrl', 'Wait', '$filter', '$compile', 'i18n', '$log', elem.popover('dispose'); } catch(err) { - $log.debug(error); + $log.debug(err); } $('.popover').each(function() { // remove lingering popover
. Seems to be a bug in TB3 RC1