Remove console log, remove trailing slash
parent
8a18dbf947
commit
159547a87d
File diff suppressed because one or more lines are too long
|
@ -25,7 +25,6 @@ class Cache {
|
||||||
}
|
}
|
||||||
|
|
||||||
static async save() {
|
static async save() {
|
||||||
console.log(`saving to ${Unity.libraryFolder}`);
|
|
||||||
await tc.cacheDir(Unity.libraryFolder, 'library', this.libraryKey);
|
await tc.cacheDir(Unity.libraryFolder, 'library', this.libraryKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Input from './input';
|
||||||
class Unity {
|
class Unity {
|
||||||
static get libraryFolder() {
|
static get libraryFolder() {
|
||||||
const { projectPath } = Input.getFromUser();
|
const { projectPath } = Input.getFromUser();
|
||||||
return `${projectPath}/Library`;
|
return `${projectPath.replace(/\/$/, '')}/Library`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue