Skip to content

Commit 7728860

Browse files
committed
fix lints
1 parent 5902dbe commit 7728860

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pkgm.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function install(args: string[]) {
8282
})
8383
.spawn();
8484

85-
let status = await proc.status;
85+
const status = await proc.status;
8686

8787
if (!status.success) {
8888
Deno.exit(status.code);
@@ -120,10 +120,11 @@ async function install(args: string[]) {
120120
self,
121121
"sudo-install",
122122
pkgx_dir,
123-
...to_install
123+
...to_install,
124124
];
125125
const cmd = "/usr/bin/sudo";
126-
const status = await new Deno.Command(cmd, {args, env, clearEnv: true}).spawn().status;
126+
const status = await new Deno.Command(cmd, { args, env, clearEnv: true })
127+
.spawn().status;
127128
Deno.exit(status.code);
128129
} else {
129130
await sudo_install(pkgx_dir, to_install);

0 commit comments

Comments
 (0)