Skip to content

debt - do not abuse textfileservice#74134

Merged
mjbvz merged 1 commit intomasterfrom
ben/webview-fileservice
May 22, 2019
Merged

debt - do not abuse textfileservice#74134
mjbvz merged 1 commit intomasterfrom
ben/webview-fileservice

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented May 22, 2019

No description provided.

@bpasero bpasero added this to the May 2019 milestone May 22, 2019
@bpasero bpasero requested a review from mjbvz May 22, 2019 12:40
@bpasero bpasero self-assigned this May 22, 2019
fileService.readFile(resource).then(contents => {
callback({
data: Buffer.from(contents.value, contents.encoding),
data: contents.value,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be the real buffer value. I'll merge this and make the fix since it otherwise looks good

@mjbvz mjbvz merged commit c1f1bf0 into master May 22, 2019
@bpasero bpasero deleted the ben/webview-fileservice branch May 23, 2019 07:47
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants