From bb2c6c2222a2761872060bda6410ebd8aa5c13d2 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Tue, 12 Mar 2024 10:16:53 +0100 Subject: [PATCH] Refs #33035 - Make js lints happy --- webpack/helpers/pathsHelper.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/webpack/helpers/pathsHelper.js b/webpack/helpers/pathsHelper.js index b4c77cf6..365899b8 100644 --- a/webpack/helpers/pathsHelper.js +++ b/webpack/helpers/pathsHelper.js @@ -1,6 +1,7 @@ -import { decodeModelId } from './globalIdHelper'; import { foremanUrl } from 'foremanReact/common/helpers'; +import { decodeModelId } from './globalIdHelper'; + const experimental = path => `/experimental${path}`; const showPath = path => `${path}/:id`; @@ -19,10 +20,14 @@ export const resolvePath = (path, params) => export const ovalContentsApiPath = '/api/v2/compliance/oval_contents'; -export const ovalContentsPath = foremanUrl(experimental('/compliance/oval_contents')); +export const ovalContentsPath = foremanUrl( + experimental('/compliance/oval_contents') +); export const ovalContentsShowPath = showPath(ovalContentsPath); export const ovalContentsNewPath = newPath(ovalContentsPath); -export const ovalPoliciesPath = foremanUrl(experimental('/compliance/oval_policies')); +export const ovalPoliciesPath = foremanUrl( + experimental('/compliance/oval_policies') +); export const ovalPoliciesShowPath = `${showPath(ovalPoliciesPath)}/:tab?`; export const ovalPoliciesNewPath = newPath(ovalPoliciesPath); export const hostsPath = foremanUrl('/hosts');