Skip to content

Commit

Permalink
jump -> 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
abranhe authored Sep 13, 2021
1 parent 42d2bd1 commit 815ed09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ if (!isGitRepo()) {
const repoUrl = await gitRemoteOriginUrl();

// Cloned repo with SSH
const url = repoUrl.includes('git@') ? repoUrl.replace('git@', 'https://').replace(':', '/') : repoUrl;
const url = repoUrl.includes('git@') ? repoUrl.replace(':', '/').replace('git@', 'https://') : repoUrl;

console.log(chalk.green(`Opening ${url}`));
await open(url);
})();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openup",
"version": "2.0.3",
"version": "2.0.4",
"description": "Open remote repositories from your terminal",
"license": "MIT",
"repository": "abranhe/openup",
Expand Down

0 comments on commit 815ed09

Please sign in to comment.