Skip to content

Commit

Permalink
Update NeedHelpDirective.js
Browse files Browse the repository at this point in the history
prettier plugin reformating
  • Loading branch information
wangf1122 committed Dec 16, 2024
1 parent 42c345f commit e246ef0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@
* @param url
* @returns {string}
*/
var processUrl = function(url) {
var processUrl = function (url) {
var urlToProcess = new URL(url);
urlToProcess.pathname = urlToProcess.pathname.replace(/\/\//g, "/");
return urlToProcess.toString();
}
};

/**
* Get the URL of the corresponding help page and open it in a new tab
Expand Down

0 comments on commit e246ef0

Please sign in to comment.