Updates to current Crystal APIs.

remotes/1732436766009665503/tmp_refs/heads/master
Luka Vandervelden 2020-11-23 17:15:12 +01:00
parent 9db43375ae
commit 8ab6e5af50
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Storage
end
def store(project, environment, revision, content)
date = Time.now.to_unix
date = Time.utc.to_unix
file_path = "#{@root}/#{project}/#{environment}/#{date}##{revision}.tap"
Dir.mkdir_p File.dirname file_path
File.write file_path, content