summaryrefslogtreecommitdiff
path: root/js/os.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/os.ts')
-rw-r--r--js/os.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/os.ts b/js/os.ts
index db389fd66..60c5f8b1f 100644
--- a/js/os.ts
+++ b/js/os.ts
@@ -128,8 +128,8 @@ export function readFileSync(filename: string): Uint8Array {
return new Uint8Array(dataArray!);
}
-function createEnv(_msg: fbs.EnvironRes): { [index:string]: string } {
- const env: { [index:string]: string } = {};
+function createEnv(_msg: fbs.EnvironRes): { [index: string]: string } {
+ const env: { [index: string]: string } = {};
for (let i = 0; i < _msg.mapLength(); i++) {
const item = _msg.map(i)!;
@@ -169,7 +169,7 @@ function setEnv(key: string, value: string): void {
* const newEnv = deno.env();
* console.log(env.TEST_VAR == newEnv.TEST_VAR);
*/
-export function env(): { [index:string]: string } {
+export function env(): { [index: string]: string } {
/* Ideally we could write
const res = send({
command: fbs.Command.ENV,