diff --git a/product-icon-theme-sample/build/updateFont.js b/product-icon-theme-sample/build/updateFont.js index ab3ad1e4..4301fe44 100644 --- a/product-icon-theme-sample/build/updateFont.js +++ b/product-icon-theme-sample/build/updateFont.js @@ -30,7 +30,7 @@ async function generateFont() { fs.writeFileSync(dest, result.woff, 'binary'); console.log(`Font created at ${dest}`); } catch (e) { - console.error('Font creation failed.', error); + console.error('Font creation failed.', e); } }