Colin Gillespie
Colin Gillespie
Perhaps it is just a matter of adding the string replacement, `.replace(/^@/, '').replace(/\//, '-')`, here. https://github.com/npm/cli/blob/3f202cd777897d2213820fb00a4e85f440f69701/lib/utils/tar.js#L105 Instead of at individual sites like here. https://github.com/npm/cli/blob/3f202cd777897d2213820fb00a4e85f440f69701/lib/pack.js#L83-L86
I handle this in the applications error middleware. ```typescript import * as createError from "http-errors"; const errorMiddleware = async (ctx, next) => { try { await next(); if (ctx.status ===...