Skip to content

Commit 7ce747e

Browse files
committed
DatabaseValidations::VERSION constant is loaded in RuboCop plugin
The plugin referenced ::DatabaseValidations::VERSION without requiring the version file, causing an uninitialized constant error when RuboCop loaded the plugin.
1 parent a5dda48 commit 7ce747e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/rubocop/database_validations/plugin.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'lint_roller'
2+
require 'database_validations/version'
23

34
module RuboCop
45
module DatabaseValidations

0 commit comments

Comments
 (0)