File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env -S pkgx deno^2.1 run --ext=ts --allow-sys=uid --allow-run=pkgx,/usr/bin/sudo --allow-env=PKGX_DIR,HOME --allow-read=/usr/local/pkgs
2- import { dirname , fromFileUrl , join } from "jsr:@std/path" ;
3- import { ensureDir , existsSync } from "jsr:@std/fs" ;
4- import { parse as parse_args } from "jsr:@std/flags" ;
5- import * as semver from "jsr:@std/semver" ;
2+ import { dirname , fromFileUrl , join } from "jsr:@std/path@^1 " ;
3+ import { ensureDir , exists , existsSync } from "jsr:@std/fs@^1 " ;
4+ import { parse as parse_args } from "jsr:@std/flags@0.224.0 " ;
5+ import * as semver from "jsr:@std/semver@^1 " ;
66
77const parsedArgs = parse_args ( Deno . args , {
88 alias : {
@@ -115,7 +115,7 @@ async function install(args: string[]) {
115115 "run" ,
116116 "--ext=ts" ,
117117 "--allow-write" , // cannot be qualified ∵ `Deno.link()` requires full access for some reason
118- ` --allow-read` , // same ^^ 😕
118+ " --allow-read" , // same ^^ 😕
119119 self ,
120120 "sudo-install" ,
121121 pkgx_dir ,
You can’t perform that action at this time.
0 commit comments