diff options
author | icebaker <icebaker@proton.me> | 2023-05-13 11:26:58 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2023-05-13 11:26:58 -0300 |
commit | 7da6076e7448bea2776749af5d937fc841b5682d (patch) | |
tree | 768bcfe401b659b231e445f252e296e201e2589d /components/storage.rb | |
parent | 867f7bd1eaf4801cd894d067a39df62ac4249a27 (diff) |
debugging
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)) |