Skip to content

Commit

Permalink
constant redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Mar 10, 2021
1 parent d396f8b commit 3bed58e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
require 'json'
require 'yaml'

STYLE_ROOT = File.expand_path('../..', __FILE__)
PULL_REQUEST = File.join(STYLE_ROOT, 'pull-request')
STYLE_ROOT = PULL_REQUEST if File.directory?(PULL_REQUEST)
PROJECT_ROOT = File.expand_path('../..', __FILE__)
PULL_REQUEST = File.join(PROJECT_ROOT, 'pull-request')
STYLE_ROOT = File.directory?(PULL_REQUEST) ? PULL_REQUEST : PROJECT_ROOT

ISSN = Hash.new { |h,k| h[k] = [] }
TITLES = Hash.new { |h,k| h[k] = [] }
Expand Down

0 comments on commit 3bed58e

Please sign in to comment.