Fix issue with fetching icons from the noun project

This commit is contained in:
Quincy Morgan
2020-04-24 13:22:27 -07:00
parent 4c37e5d342
commit 68a2c47fdb

View File

@@ -819,8 +819,8 @@ function writeTnpIcons(tnpIcons) {
* }
*/
let nounAuth;
if (fs.existsSync('../the_noun_project.auth')) {
nounAuth = JSON.parse(fs.readFileSync('../the_noun_project.auth', 'utf8'));
if (fs.existsSync('the_noun_project.auth')) {
nounAuth = JSON.parse(fs.readFileSync('the_noun_project.auth', 'utf8'));
}
const baseURL = 'http://api.thenounproject.com/icon/';