Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 1ad04d4

Browse files
committed
Expand payload path on access
1 parent 1346d1e commit 1ad04d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

payloads/custom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def encoded
2121
end
2222

2323
def raw
24-
File.open(datastore['payload_path'], 'rb', &:read)
24+
File.open(File.expand_path(datastore['payload_path']), 'rb', &:read)
2525
end
2626
end
2727
end

0 commit comments

Comments
 (0)