}
window.__next__ = undefined
send_ok()
- } catch (e: any) {
+ } catch (e) {
send_error(e.message, e.stack);
}
}
}
try {
parent.postMessage({ action: 'error', value: error }, '*');
- } catch (e: any) {
+ } catch (e) {
parent.postMessage({ action: 'error', value: msg }, '*');
}
}
}
try {
parent.postMessage({ action: 'unhandledrejection', value: event.reason }, '*');
- } catch (e: any) {
+ } catch (e) {
parent.postMessage({ action: 'unhandledrejection', value: event.reason.message }, '*');
}
});
}
)
console.log(chalk.green(`Successfully published ${pkgName}@${version}`))
- } catch (e: any) {
+ } catch (e) {
if (e.stderr.match(/previously published/)) {
console.log(chalk.red(`Skipping already published: ${pkgName}`))
} else {