diff --git a/src/fs.cr b/src/fs.cr index 7ae5618..030e743 100644 --- a/src/fs.cr +++ b/src/fs.cr @@ -58,7 +58,7 @@ class FS::Hash(K, V) @partitions.each do |index| index_key = index.key_proc.call value - symlink = file_path(key, index.name, index_key) + symlink = file_path(key.to_s, index.name, index_key) Dir.mkdir_p File.dirname symlink