From 78432f2166cca013b41f43999a493f03ae6803ec Mon Sep 17 00:00:00 2001 From: saul Date: Tue, 4 Apr 2023 15:03:17 +1200 Subject: [PATCH] Fix wrong path join method being used. --- src/utils/ensure-ac-address.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/ensure-ac-address.js b/src/utils/ensure-ac-address.js index c36593f..c32bb89 100644 --- a/src/utils/ensure-ac-address.js +++ b/src/utils/ensure-ac-address.js @@ -1,9 +1,9 @@ -import path from 'path' +import pathJoin from './path-join.js' // Make sure the given address has '/_access' as the last part export default address => { const suffix = address.toString().split('/').pop() return suffix === '_access' ? address - : path.join(address, '/_access') + : pathJoin(address, '/_access') }