Skip to content

Commit

Permalink
Silence console output from testing for pyftsubset when pyftsubset is…
Browse files Browse the repository at this point in the history
… missing. Fixes #88
  • Loading branch information
Munter committed May 23, 2020
1 parent 9b9e5d4 commit 442214c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subsetLocalFont.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const childProcess = require('child_process');

try {
childProcess.execSync('pyftsubset --help');
childProcess.execSync('pyftsubset --help', { stdio: 'ignore' });
} catch (err) {
throw new Error(
'Subsetting tool not available. How to install: `pip install fonttools brotli zopfli`'
Expand Down

0 comments on commit 442214c

Please sign in to comment.