Fixes issue with stashes w/ only untracked files

This commit is contained in:
Eric Amodio
2017-09-15 03:27:58 -04:00
parent 2809991096
commit 858d9ec578
6 changed files with 39 additions and 28 deletions

View File

@@ -70,7 +70,7 @@ export class GitCommit {
}
get uri(): Uri {
return Uri.file(path.resolve(this.repoPath, this.originalFileName || this.fileName));
return Uri.file(path.resolve(this.repoPath, this.originalFileName || this.fileName || ''));
}
private _dateFormatter?: Dates.IDateFormatter;