Remove console log, remove trailing slash

pull/26/head
Webber 2020-01-25 17:38:56 +01:00
parent 8a18dbf947
commit 159547a87d
3 changed files with 2 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,6 @@ class Cache {
}
static async save() {
console.log(`saving to ${Unity.libraryFolder}`);
await tc.cacheDir(Unity.libraryFolder, 'library', this.libraryKey);
}
}

View File

@ -3,7 +3,7 @@ import Input from './input';
class Unity {
static get libraryFolder() {
const { projectPath } = Input.getFromUser();
return `${projectPath}/Library`;
return `${projectPath.replace(/\/$/, '')}/Library`;
}
}