Skip to content

Commit d7089c2

Browse files
committed
chore: await append
1 parent e7ec664 commit d7089c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/bash_to_fish.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for await (let line of lines) {
3131
const varVal = line.slice('export '.length);
3232
const variable = varVal.slice(0, varVal.indexOf('='));
3333
const value = varVal.slice(varVal.indexOf('=') + 1);
34-
output.appendFile(`set -x ${variable} ${value}\n`);
34+
await output.appendFile(`set -x ${variable} ${value}\n`);
3535
}
3636

3737
output.close();

0 commit comments

Comments
 (0)