Skip to content

Strider was crashed when add a git repo without authentication info #33

Description

@tunglam14

When i create new project manually with no authentication info (i.e: Github public repo: https://github.com/tunglam14/ruby-kong.git), error caused:

 /root/strider/node_modules/strider-git/lib/index.js:137
  if (config.auth.type === 'ssh') {
                 ^                                       
TypeError: Cannot read property 'type' of undefined 
    at Object.getBranches (/root/strider/node_modules/strider-git/lib/index.js:137:18)

Because, no auth info is initialized.
If it's a bug, I'm happy to fix.

@knownasilya

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions