19 lines
291 B
JavaScript
19 lines
291 B
JavaScript
|
|
||
|
|
||
|
import * as Js_dict from "./js_dict.js";
|
||
|
import * as Process from "process";
|
||
|
|
||
|
function putEnvVar(key, $$var) {
|
||
|
Process.env[key] = $$var;
|
||
|
}
|
||
|
|
||
|
function deleteEnvVar(s) {
|
||
|
Js_dict.unsafeDeleteKey(Process.env, s);
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
putEnvVar ,
|
||
|
deleteEnvVar ,
|
||
|
}
|
||
|
/* process Not a pure module */
|