chore: remove wrongly placed type casts
This commit is contained in:
@@ -220,7 +220,7 @@ async function publishPackage(pkgName, version, runIfNotDry) {
|
||||
}
|
||||
)
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user