-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't error on not managed projects #55
Comments
That seems like a regression. I had a PR to fix that. Let me check |
@mattsawyer77 , how do you update the CHANGELOG? Are you doing it manually? |
@unional I use this tool: https://github.com/skywinder/github-changelog-generator Basically I do the following:
then I edit CHANGELOG.md, replacing the unknown version #s with the next version (apm patch increments the 3rd digit, apm minor increments the 2nd digit, and apm publish major increments the first digit. then I make that commit) then
hope that helps. |
Done! 🌹 |
@PhiLhoSoft , does the new version solve your problem? |
You are right. I forgot to consider that. :P |
@PhiLhoSoft , like you said, it is related to #15 and I think that's the best way to fix this issue. |
If someone wants to implement #15 that would be cool. I'd like the see the PR for it before it's merged though. |
Close this for #58 "Don't error on not managed projects" is fixed. |
It is kind of related to #15. When I open a project that's not managed by Perforce, I see errors in the console. It is a minor issue, but I think it would be better if the package just shut off and disable itself on such project.

The error:
In short, in textual form:
where
C:/Sources
is the value of P4ROOT.At home, where I don't have Perforce at all (but the package is installed because I have synchronized my settings), I have another error.
Perhaps you can detect if there is a P4ROOT environment variable. If not, just disable the package. If so, check the value against the Project paths. If not matching, don't try to issue p4 commands there.
Note: I appreciate the package, far more complete than the primitive (but already useful) one in Brackets, even providing useful information to the tree-view (status modified / added, etc.). Thanks.
The text was updated successfully, but these errors were encountered: