-
Notifications
You must be signed in to change notification settings - Fork 16
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
undefined local variable or method `klass' #28
Comments
Note: it seems to of redacted correctly. |
Hmmm... I can't make those line numbers match up with anything. What commit is your working directory on? |
With these changes diff --git a/redact_changeset.rb b/redact_changeset.rb
old mode 100644
new mode 100755
index 988bced..6009e15
--- a/redact_changeset.rb
+++ b/redact_changeset.rb
@@ -13,7 +13,7 @@ require 'yaml'
require 'optparse'
require 'typhoeus'
-MAX_CHANGESET_ELEMENTS = 1000
+MAX_CHANGESET_ELEMENTS = 500
class Server
def initialize(file, dry_run) |
It was referencing out of scope variables. This should fix #28.
I think I fixed it in 6006392 so please let me know if something like it happens again. I think that the root cause of it being on that code path was that the element it was looking for had concurrently been deleted, which is something that needs to be handled properly, I guess. |
Overnight when redacting a decently largechangeset
The text was updated successfully, but these errors were encountered: