Skip to content

Commit

Permalink
fix(list): fix opening an empty buffer in the help action of the exte…
Browse files Browse the repository at this point in the history
…nsions (#4652)
  • Loading branch information
yaegassy committed May 24, 2023
1 parent 3014125 commit e51a7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list/source/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class ExtensionList extends BasicList {
let { root } = item.data
let files = fs.readdirSync(root, { encoding: 'utf8' })
let file = files.find(f => /^readme/i.test(f))
if (file) await workspace.jumpTo(URI.file(file))
if (file) await workspace.jumpTo(URI.file(path.join(root, file)))
})

this.addAction('reload', async item => {
Expand Down

0 comments on commit e51a7cd

Please sign in to comment.