Bläddra i källkod

Fixes issues with repo path not matching

Caches failed to clear, etc
main
Eric Amodio 2 år sedan
förälder
incheckning
5ddd0f731b
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      src/git/models/repository.ts

+ 2
- 2
src/git/models/repository.ts Visa fil

@ -25,7 +25,7 @@ import { gate } from '../../system/decorators/gate';
import { debug, log, logName } from '../../system/decorators/log';
import { debounce } from '../../system/function';
import { filter, join, some } from '../../system/iterable';
import { basename } from '../../system/path';
import { basename, normalizePath } from '../../system/path';
import { runGitCommandInTerminal } from '../../terminal';
import { GitProviderDescriptor } from '../gitProvider';
import { RemoteProviderFactory, RemoteProviders } from '../remotes/factory';
@ -270,7 +270,7 @@ export class Repository implements Disposable {
}
get path(): string {
return this.uri.scheme === Schemes.File ? this.uri.fsPath : this.uri.toString();
return this.uri.scheme === Schemes.File ? normalizePath(this.uri.fsPath class="p">) : this.uri.toString();
}
get etag(): number {

Laddar…
Avbryt
Spara