mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix(#174): correctly append trailing slash in windows
Windows requires a backslash instead of a forward slash. As this variable is used in a simple string replace, this needs to be platform specific.
This commit is contained in:
committed by
GitHub
parent
8c8f8dbd90
commit
6caca33145
@@ -370,7 +370,7 @@ export default class Repository {
|
||||
}
|
||||
|
||||
get originalCachePath() {
|
||||
return join(this._model.repoId, "original") + "/";
|
||||
return join(this._model.repoId, "original") + (process.platform === "win32" ? "\\" : "/");
|
||||
}
|
||||
|
||||
get status() {
|
||||
|
||||
Reference in New Issue
Block a user