Skip to content

Commit 69a7c89

Browse files
authored
Merge pull request #68 from hickey/bugfix/issue60
Quick fix to resolve caching modules beginning with a number
2 parents 1a810d9 + 0b02bd7 commit 69a7c89

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet_forge_server/backends

1 file changed

+1
-1
lines changed

lib/puppet_forge_server/backends/proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(url, cache_dir, http_client, file_path)
2828
@file_path = file_path
2929

3030
# Create directory structure for all alphabetic letters
31-
(10...36).each do |i|
31+
(0...36).each do |i|
3232
FileUtils.mkdir_p(File.join(@cache_dir, i.to_s(36)))
3333
end
3434
end

0 commit comments

Comments
 (0)