Skip to content

Commit 32bf340

Browse files
committed
fix(remote): Stop writing fetched tables to tmp
Closes #49
1 parent 8adcc92 commit 32bf340

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [unreleased]
9+
- When fetching a file from a package remote, the file is no longer written to `/tmp`. ([Reported](https://github.com/unicornpkg/libunicornpkg/issues/49) by [@Commandcracker](https://github.com/Commandcracker))
10+
811
## v1.2.1
912

1013
- Fix a bug where attempting to uninstall and then reinstall a package would result in an error. ([Reported](https://github.com/unicornpkg/wing/issues/19#issuecomment-3029323428) by [@rapidradiance](https://github.com/rapidradiance))

unicorn/remote.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ function unicorn.remote.install(package_name)
4242
error("HTTP request to " .. v5 .. " failed with error " .. httpError)
4343
end
4444
else
45-
unicorn.util.fileWrite(response, "/tmp/" .. package_name)
4645
print(response)
4746
print(httpError)
4847

0 commit comments

Comments
 (0)