Skip to content

hardcoded "github.com" in build script #1144

Description

@Hugo-Trentesaux

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];

🤮

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions