Skip to content

Commit

Permalink
Freeze cache so it can't be modified accidentally.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 5, 2016
1 parent 0ee939a commit 245fa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/files/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def basename
alias parts components

def relative_path
@relative_path ||= Path.relative_path(@root.to_s, @full_path)
@relative_path ||= Path.relative_path(@root.to_s, @full_path).freeze
end

def relative_parts
Expand Down

0 comments on commit 245fa5e

Please sign in to comment.