Skip to content

Commit

Permalink
rel path to states.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Apr 18, 2024
1 parent 6abc942 commit 18c154f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/ruby/lib/merritt_zk_state.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def initialize(status, next_status)
def self.state_yaml
JSON.parse(
YAML.safe_load(
File.read('../../../states.yml'),
File.read(File.join(File.dirname(__FILE__), '../../../../states.yml')),
aliases: true
).to_json,
symbolize_names: true
Expand Down
2 changes: 1 addition & 1 deletion src/main/ruby/lib/merritt_zk_states.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def initialize(status, next_status)
def self.state_yaml
JSON.parse(
YAML.safe_load(
File.read('../../../states.yml'),
File.read(File.join(File.dirname(__FILE__), '../../../../states.yml')),
aliases: true
).to_json,
symbolize_names: true
Expand Down

0 comments on commit 18c154f

Please sign in to comment.