Skip to content

Commit

Permalink
style: wrap the installCertutil warning on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
davewasmer committed Apr 27, 2017
1 parent 164e759 commit 0d27523
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ async function addCertificateToTrustStores(installCertutil: boolean): Promise<vo
debug('adding devcert root CA to chrome');
addCertificateToNSSCertDB('~/.pki/nssdb', installCertutil);
} catch (e) {
console.warn('WARNING: Because you did not pass in `installCertutil` to devcert, we are unable to update Chrome to respect generated development certificates. The certificates will work, but Chrome will continue to warn you that they are untrusted.');
console.warn(`
WARNING: Because you did not pass in \`installCertutil: true\` to devcert, we
are unable to update Chrome to automatically trust generated development
certificates. The certificates will work, but Chrome will continue to warn you
that they are untrusted.`);
}

// Windows
Expand Down

0 comments on commit 0d27523

Please sign in to comment.