Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #100 from murphyslaw480/master
Browse files Browse the repository at this point in the history
expand ~ when loading global path
  • Loading branch information
Arthur Chiu committed Feb 12, 2014
2 parents 3e90fc8 + d7e1082 commit 09f2bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/consular/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(path)
@_windows = ActiveSupport::OrderedHash.new
@_windows['default'] = window_hash
@_context = @_windows['default']
file = File.read(path)
file = File.read(File.expand_path(path))
if path =~ /\.yml$/
@_file = YAML.load file
extend Yaml
Expand Down

0 comments on commit 09f2bf4

Please sign in to comment.