We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try
Playground link
let workerPool export function compile(src, options) { if (process.env.CIVET_THREADS != 0) { const threads = Number(options.threads ?? process.env.CIVET_THREADS) if (!isNaN(threads) && threads > 0 && !options.sync) { try { workerPool = new WorkerPool(options.threads) } catch { workerPool = null } };return };return }
(() => { // entry.js function compile(src, options) { if (0 && !isNaN(threads) && threads > 0 && !options.sync) try { } catch { } } })();
(() => { })();
Removing the try/catch block results in the expcted output.
catch
The text was updated successfully, but these errors were encountered:
cbed653
No branches or pull requests
Playground link
Input code
Current output
Expected output
Additional info
Removing the
try
/catch
block results in the expcted output.The text was updated successfully, but these errors were encountered: