1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-02 18:06:27 +02:00

Fix path, fix Zig: CRLF -> LF

This commit is contained in:
Omar Brikaa 2024-09-06 21:54:44 +03:00
parent 9a4ea72043
commit b3214b1c71
6 changed files with 30 additions and 29 deletions
api/src

View file

@ -185,6 +185,7 @@ class Runtime {
.split('\n') .split('\n')
.map(line => line.split('=', 2)) .map(line => line.split('=', 2))
.forEach(([key, val]) => { .forEach(([key, val]) => {
val = val.replace_all(this.pkgdir, '/runtime');
this._env_vars[key.trim()] = val.trim(); this._env_vars[key.trim()] = val.trim();
}); });
} }