Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oops, fixed the 'cla' snippet as per previous commit comment
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b6188a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I’ve updated to the latest ruby tmbundle and are getting the following error when using the cla snippet:
class /tmp/temp_textmate.DZTURg:4: private method `gsub’ called for nil:NilClass (NoMethodError)
end
It seems to only happen when the file is not yet saved.
Cheers,
Marcus
b6188a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I saw that once; I guess we need check for nil
b6188a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I’ve fixed this now.