Skip to content

Commit

Permalink
fixing ending slash cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator authored Jun 29, 2022
1 parent b6edb4e commit 0113cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli-command/project/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ class TestRunnerSession {

// Normalize ending slash
if( webstudioURL.endsWith("/") ) {
webstudioURL.slice(0, webstudioURL.length - 1)
webstudioURL = webstudioURL.slice(0, webstudioURL.length - 1)
}
if( privateSnippetURL != null && privateSnippetURL.endsWith("/") ) {
privateSnippetURL.slice(0, privateSnippetURL.length - 1)
privateSnippetURL = privateSnippetURL.slice(0, privateSnippetURL.length - 1)
}

// Get the full project listing (after login)
Expand Down

0 comments on commit 0113cd6

Please sign in to comment.