nakajima / atom-branch-status

Atom plugin to show current branch status
https://atom.io/packages/branch-status
MIT License
1 stars 3 forks source link

Uncaught TypeError: Cannot read property 'match' of null #21

Open cherednichenko opened 7 years ago

cherednichenko commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.11.6 Thrown From: branch-status package 0.8.3

Stack Trace

Uncaught TypeError: Cannot read property 'match' of null

At /Users/shaft/.atom/packages/branch-status/lib/SimpleGitHubFile.coffee:97

TypeError: Cannot read property 'match' of null
    at SimpleGitHubFile.module.exports.SimpleGitHubFile.githubRepoUrl (/packages/branch-status/lib/SimpleGitHubFile.coffee:97:11)
    at getNameWithOwner (/packages/branch-status/lib/branch-status.coffee:15:54)
    at pollStatus (/packages/branch-status/lib/branch-status.coffee:79:33)

Commands

  2x -1:20.5.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui)

Non-Core Packages

atom-clock 0.1.12 
atom-javascript-console-snippets 0.10.0 
atom-nodejs-snippets 1.5.0 
autocomplete-emojis 2.5.0 
autocomplete-php 0.3.7 
autocomplete-ruby 0.2.8 
behat-atom 0.1.2 
branch-status 0.8.3 
busy-signal 1.4.3 
cucumber 0.6.0 
es6-javascript 1.0.0 
file-icons 2.1.8 
fonts 3.0.2 
git-log 0.4.1 
highlight-line 0.12.0 
highlight-selected 0.13.1 
intentions 1.1.2 
javascript-snippets 1.2.1 
language-gherkin 1.0.4 
language-javascript-better 1.7.1 
language-javascript-jsx 0.3.7 
language-javascript-semantic 0.2.1 
linter 2.2.0 
linter-ui-default 1.6.2 
markdown-preview-plus 2.4.10 
minimap 4.28.2 
minimap-bookmarks 0.4.2 
minimap-codeglance 0.4.7 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.0.0 
minimap-selection 4.4.0 
nodejs-snippets 2.0.2 
project-switcher 0.3.0 
ruby-block 0.3.6 
ruby-quick-test 0.4.0 
ruby-test 1.0.2 
titanium-language-javascript 0.48.0 
todo-show 1.11.0 
turbo-javascript 1.4.0 
ananth-iyer commented 5 years ago

Enter steps to reproduce

More detail Atom: 1.33.1 Electron: 2.0.16 Chrome: 61.0.3163.100 Node: v8.9.3 OS: Ubuntu 16.04

Error appeared

Uncaught TypeError: Cannot read property 'match' of null /home/al-030/.atom/packages/branch-status/lib/SimpleGitHubFile.coffee:97 Hide Stack Trace TypeError: Cannot read property 'match' of null at SimpleGitHubFile.module.exports.SimpleGitHubFile.githubRepoUrl (/home/al-030/.atom/packages/branch-status/lib/SimpleGitHubFile.coffee:97:12) at getNameWithOwner (/home/al-030/.atom/packages/branch-status/lib/branch-status.coffee:15:54) at findPR (/home/al-030/.atom/packages/branch-status/lib/branch-status.coffee:36:33)