dev icon indicating copy to clipboard operation
dev copied to clipboard

hardcoded "github.com" in build script

Open Hugo-Trentesaux opened this issue 7 months ago • 0 comments

Trying to use build script outside of github, failing on this:

https://github.com/polkadot-js/dev/blob/master/packages/dev/scripts/polkadot-dev-build-ts.mjs#L1421-L1423

const repoPath = pkg.repository.url
  .split('https://github.com/')[1]
  .split('.git')[0];

🤮

Hugo-Trentesaux avatar Jul 22 '24 11:07 Hugo-Trentesaux