Skip to content

Commit

Permalink
fix typo (conwnet#564)
Browse files Browse the repository at this point in the history
Co-authored-by: Bao Zhiyuan <baozhiyuan@idea.edu.cn>
  • Loading branch information
bzy-debug and Bao Zhiyuan authored Apr 11, 2024
1 parent 0adcc1d commit a907a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/github1s/src/providers/file-system/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class GitHub1sFileSystemProvider implements FileSystemProvider, Disposabl
readFile = reuseable(
async (uri: Uri): Promise<Uint8Array> => {
let { scheme, authority, path } = uri;
// if `authority` is same with currnet, try to find it with `this.lookupAsFile`,
// if `authority` is same with current, try to find it with `this.lookupAsFile`,
// we can't use `router.getAuthority()` directly because this file may be in submodule
if (authority === workspace.workspaceFolders?.[0].uri.authority) {
const file = (await this.lookupAsFile(uri, false))!;
Expand Down

0 comments on commit a907a51

Please sign in to comment.