Skip to content

Commit 808ab55

Browse files
committed
Formatting
1 parent 1b44cc7 commit 808ab55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ function getGitHubLink(cb, fileFsPath, line) {
7070
branch = 'master';
7171

7272
projectName = parsedUri.substring(parsedUri.lastIndexOf("/") + 1, parsedUri.length);
73-
subdir = fileFsPath ? fileFsPath.substring(workspace.rootPath.length).replace(/\"/g, "") : undefined;
73+
subdir = fileFsPath ? fileFsPath.substring(workspace.rootPath.length).replace(/\"/g, "") : undefined;
7474

7575
if (repoDir !== cwd) {
7676
// The workspace directory is a subdirectory of the git repo folder so we need to prepend the the nested path
7777
var repoRelativePath = cwd.replace(repoDir, "/");
7878
subdir = repoRelativePath + subdir;
79-
}
79+
}
8080

8181
if (parsedUri.startsWith(scUrls.github)) {
8282
gitLink = formGitHubLink(parsedUri, branch, subdir, line);

0 commit comments

Comments
 (0)