Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos #153229

Merged
merged 2 commits into from
Jun 27, 2022
Merged

fix: typos #153229

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vs/platform/files/test/node/diskFileService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ flakySuite('Disk File Service', function () {
}
});

test('copy - MIX CASE different taget - overwrite', async () => {
test('copy - MIX CASE different target - overwrite', async () => {
const source1 = await service.resolve(URI.file(join(testDir, 'index.html')), { resolveMetadata: true });
assert.ok(source1.size > 0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export abstract class BaseFileWorkingCopyManager<M extends IFileWorkingCopyModel
// Add to our working copy map
this.mapResourceToWorkingCopy.set(resource, workingCopy);

// Update our dipsose listener to remove it on dispose
// Update our dispose listener to remove it on dispose
this.mapResourceToDisposeListener.get(resource)?.dispose();
this.mapResourceToDisposeListener.set(resource, workingCopy.onWillDispose(() => this.remove(resource)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export interface IFileWorkingCopySaveAsOptions extends ISaveOptions {

/**
* Optional target resource to suggest to the user in case
* no taget resource is provided to save to.
* no target resource is provided to save to.
*/
suggestedTarget?: URI;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export class StoredFileWorkingCopyManager<M extends IStoredFileWorkingCopyModel>
protected override remove(resource: URI): boolean {
const removed = super.remove(resource);

// Dispose any exsting working copy listeners
// Dispose any existing working copy listeners
const workingCopyListener = this.mapResourceToWorkingCopyListeners.get(resource);
if (workingCopyListener) {
dispose(workingCopyListener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class UntitledFileWorkingCopyManager<M extends IUntitledFileWorkingCopyMo
protected override remove(resource: URI): boolean {
const removed = super.remove(resource);

// Dispose any exsting working copy listeners
// Dispose any existing working copy listeners
const workingCopyListener = this.mapResourceToWorkingCopyListeners.get(resource);
if (workingCopyListener) {
dispose(workingCopyListener);
Expand Down