Open Athius opened 9 years ago
Well now. I guess it can't make a request to the GitHub repo if the project isn't one.
@Athius Is this project even in a git repo?
We should probably be checking for both, heh.
Sorry for the late answer...
I just made a git init and create an empty ruby file. When I opened this file with atom, I had this error.
I didn't put my project on GitHub repo yet because there is nothing much important in it.
I got the same error on a local git repository. When I publish my repo on Github everything works well. So yes, checking for the repo might be a good idea :)
Same here. Running local repo and receiving this same error.
Atom Version: 1.0.6
System: Microsoft Windows 7 Enterprise Thrown From: branch-status package, v0.8.1
Uncaught TypeError: Cannot read property 'match' of null
At C:\Users\myProfile\.atom\packages\branch-status\lib\SimpleGitHubFile.coffee:97
TypeError: Cannot read property 'match' of null
at SimpleGitHubFile.module.exports.SimpleGitHubFile.githubRepoUrl (C:\Users\myProfile\.atom\packages\branch-status\lib\SimpleGitHubFile.coffee:120:14)
at getNameWithOwner (C:\Users\myProfile\.atom\packages\branch-status\lib\branch-status.coffee:23:56)
at findPR (C:\Users\myProfile\.atom\packages\branch-status\lib\branch-status.coffee:48:27)
-0:14.5.0 branch-status:toggle (atom-text-editor.editor.is-focused)
{
"core": {
"projectHome": "S:\\"
},
"branch-status": {}
}
# User
autoclose-html, v0.18.0
branch-status, v0.8.1
highlight-selected, v0.10.1
linter, v1.3.4
minimap, v4.12.3
minimap-highlight-selected, v4.3.0
simple-drag-drop-text, v0.2.3
# Dev
No dev packages
I really like the features this package offers but, I'm going to have to disable it for now.
Hi, I'm new in atom and I just installed your package.
When I open a file of my project, I have the following error that appears. Hope that help you to fix this error.
Atom Version: 0.210.0 System: Mac OS X 10.10.3 Thrown From: branch-status package, v0.8.1
Stack Trace
Uncaught TypeError: Cannot read property 'match' of null
Commands
Config
Installed Packages