From 508c562243fe667428f1781eeb596c7ee74a52fd Mon Sep 17 00:00:00 2001 From: Shreya Date: Mon, 12 Apr 2021 16:23:09 +0530 Subject: [PATCH] Fix singlequotes eslint warnings --- .../cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js | 2 +- .../report-components/security/issues/SharedPasswordsIssue.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js index 3a43f1a44..db8ca17f6 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js @@ -27,7 +27,7 @@ function RunOptions(props) { .then(res => { let commandServers = res.configuration.internal.island_server.command_servers; let ipAddresses = commandServers.map(ip => { - return ip.split(":", 1); + return ip.split(':', 1); }); setIps(ipAddresses); setInitialized(true); diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/security/issues/SharedPasswordsIssue.js b/monkey/monkey_island/cc/ui/src/components/report-components/security/issues/SharedPasswordsIssue.js index 2a09dbb83..5d114a520 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/security/issues/SharedPasswordsIssue.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/security/issues/SharedPasswordsIssue.js @@ -3,11 +3,11 @@ import CollapsibleWellComponent from '../CollapsibleWell'; import {generateInfoBadges} from './utils'; export function sharedPasswordsIssueOverview() { - return (
  • Multiple users have the same password
  • ) + return (
  • Multiple users have the same password
  • ) } export function sharedAdminsDomainIssueOverview() { - return (
  • Shared local administrator account - Different machines have the same account as a local + return (
  • Shared local administrator account - Different machines have the same account as a local administrator.
  • ) }