We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5902dbe commit 7728860Copy full SHA for 7728860
1 file changed
pkgm.ts
@@ -82,7 +82,7 @@ async function install(args: string[]) {
82
})
83
.spawn();
84
85
- let status = await proc.status;
+ const status = await proc.status;
86
87
if (!status.success) {
88
Deno.exit(status.code);
@@ -120,10 +120,11 @@ async function install(args: string[]) {
120
self,
121
"sudo-install",
122
pkgx_dir,
123
- ...to_install
+ ...to_install,
124
];
125
const cmd = "/usr/bin/sudo";
126
- const status = await new Deno.Command(cmd, {args, env, clearEnv: true}).spawn().status;
+ const status = await new Deno.Command(cmd, { args, env, clearEnv: true })
127
+ .spawn().status;
128
129
} else {
130
await sudo_install(pkgx_dir, to_install);
0 commit comments