From 68a2c47fdbd3deb875150fd596cbcebf0d489902 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Fri, 24 Apr 2020 13:22:27 -0700 Subject: [PATCH] Fix issue with fetching icons from the noun project --- scripts/build_data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_data.js b/scripts/build_data.js index 1bdad5d05..ff622170a 100644 --- a/scripts/build_data.js +++ b/scripts/build_data.js @@ -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/';