From 19060a122d0c2f1ca421f732a370ce68d2fc33de Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:18:09 +0000 Subject: [PATCH] ran `npm run build` --- dist/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8cfb1d5..652ff1d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2464,10 +2464,10 @@ function getServerApiUrl(url) { if (hasContent(url, false)) { let serverUrl = getServerUrl(url); if (isGhes(url)) { - serverUrl.pathname = "api/v3"; + serverUrl.pathname = 'api/v3'; } else { - serverUrl.hostname = "api." + serverUrl.hostname; + serverUrl.hostname = 'api.' + serverUrl.hostname; } return pruneSuffix(serverUrl.toString(), '/'); } @@ -2488,7 +2488,7 @@ function pruneSuffix(text, suffix) { return text; } function hasContent(text, allowPureWhitespace) { - let refinedText = text !== null && text !== void 0 ? text : ""; + let refinedText = text !== null && text !== void 0 ? text : ''; if (!allowPureWhitespace) { refinedText = refinedText.trim(); }