diff --git a/src/lib/cli/qseow-delete-master-dimension.js b/src/lib/cli/qseow-delete-master-dimension.js index 66739f2..78c4fd8 100644 --- a/src/lib/cli/qseow-delete-master-dimension.js +++ b/src/lib/cli/qseow-delete-master-dimension.js @@ -2,7 +2,7 @@ import { Option } from 'commander'; import { catchLog } from '../util/log.js'; import { qseowSharedParamAssertOptions, masterItemDimDeleteAssertOptions } from '../util/qseow/assert-options.js'; -import deleteMasterDimension from '../cmd/qseow/getdim.js'; +import { deleteMasterDimension } from '../cmd/qseow/deletedim.js'; export function setupQseowDeleteMasterDimensionCommand(qseow) { qseow diff --git a/src/lib/cli/qseow-get-master-dimension.js b/src/lib/cli/qseow-get-master-dimension.js index 424c1cf..c5ea752 100644 --- a/src/lib/cli/qseow-get-master-dimension.js +++ b/src/lib/cli/qseow-get-master-dimension.js @@ -2,7 +2,7 @@ import { Option } from 'commander'; import { catchLog } from '../util/log.js'; import { qseowSharedParamAssertOptions } from '../util/qseow/assert-options.js'; -import getMasterDimension from '../cmd/qseow/getdim.js'; +import { getMasterDimension } from '../cmd/qseow/getdim.js'; export function setupQseowGetMasterDimensionCommand(qseow) { qseow diff --git a/src/lib/cmd/qseow/deletedim.js b/src/lib/cmd/qseow/deletedim.js index f2d6f98..21d7423 100644 --- a/src/lib/cmd/qseow/deletedim.js +++ b/src/lib/cmd/qseow/deletedim.js @@ -10,7 +10,7 @@ let deleteCount = 0; * * @param {*} options */ -const deleteMasterDimension = async (options) => { +export async function deleteMasterDimension(options) { try { // Set log level setLoggingLevel(options.logLevel); @@ -154,6 +154,4 @@ const deleteMasterDimension = async (options) => { } catch (err) { catchLog('Error in deleteMasterDimension', err); } -}; - -export default deleteMasterDimension; +} diff --git a/src/lib/cmd/qseow/getdim.js b/src/lib/cmd/qseow/getdim.js index 8f8e7f4..4cef939 100644 --- a/src/lib/cmd/qseow/getdim.js +++ b/src/lib/cmd/qseow/getdim.js @@ -39,7 +39,7 @@ const consoleTableConfig = { * * @param {*} options */ -const getMasterDimension = async (options) => { +export async function getMasterDimension(options) { try { // Set log level setLoggingLevel(options.logLevel); @@ -267,6 +267,4 @@ const getMasterDimension = async (options) => { } catch (err) { catchLog(`Error getting master dimensions`, err); } -}; - -export default getMasterDimension; +}