Skip to content

Commit a870baf

Browse files
authored
revert: "fix(extension): escape file paths (#29)" (#31)
This reverts commit 6ca4d58. GH-28 should resolve this issue completely
1 parent 71ecfaf commit a870baf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/extension.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,7 @@ async function githubinator({
173173
!!permalink || branchName == null
174174
? createSha(head)
175175
: createBranch(branchName),
176-
// escape invalid url characters
177-
// See https://github.com/chdsbd/vscode-githubinator/issues/28
178-
relativeFilePath: encodeURIComponent(
179-
getRelativeFilePath(gitDir, fileName),
180-
),
176+
relativeFilePath: getRelativeFilePath(gitDir, fileName),
181177
})
182178
if (parsedUrl != null) {
183179
console.log("Found provider", provider.name)

0 commit comments

Comments
 (0)