We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92306f6 commit 2762991Copy full SHA for 2762991
1 file changed
pkgm.ts
@@ -189,8 +189,16 @@ async function install(args: string[], basePath: string) {
189
}
190
191
192
- if (!Deno.env.get("PATH")?.split(":")?.includes(basePath)) {
193
- console.error("%c! warning:", "color:yellow", `${basePath} not in $PATH`);
+ if (
+ !Deno.env.get("PATH")?.split(":")?.includes(
194
+ new Path(basePath).join("bin").string,
195
+ )
196
+ ) {
197
+ console.error(
198
+ "%c! warning:",
199
+ "color:yellow",
200
+ `${new Path(basePath).join("bin")} not in $PATH`,
201
+ );
202
203
204
return rv;
0 commit comments