np icon indicating copy to clipboard operation
np copied to clipboard

Handle a missing `repoUrl`

Open Drarig29 opened this issue 2 years ago • 0 comments

Indeed it would make sense for an npm package, but:

  • If possible it could parse the repo from a git remote as a fallback, or
  • it could handle a missing repo field and output the correct error

Originally posted by @fregante in https://github.com/sindresorhus/np/issues/593#issuecomment-770253665

https://github.com/sindresorhus/np/blob/main/source/release-task-helper.js#L16

Drarig29 avatar Mar 26 '22 08:03 Drarig29