diff options
Diffstat (limited to 'components/storage.rb')
-rw-r--r-- | components/storage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/storage.rb b/components/storage.rb index 3d3f58d..d46455f 100644 --- a/components/storage.rb +++ b/components/storage.rb @@ -19,7 +19,7 @@ module NanoBot path = "#{path.sub(%r{/$}, '')}/ruby-nano-bots/#{cartridge[:meta][:author].to_slug.normalize}" path = "#{path}/#{cartridge[:meta][:name].to_slug.normalize}" - path = "#{path}/#{cartridge[:meta][:version].to_s.gsub('.', '-').to_slug.normalize}/#{key.to_slug.normalize}" + path = "#{path}/#{cartridge[:meta][:version].to_s.gsub('.', '-').to_slug.normalize}/#{key}" path = "#{path}/state.json" FileUtils.mkdir_p(File.dirname(path)) |