Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Jul 5, 2024
1 parent 68129cd commit b44aac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/pkg_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ class Yarn implements PackageManager {
args.push(mode);
}
args.push(...toPackageArgs(packages));
console.log(args);
const fs = await import("node:fs");
const dir = fs.readdirSync(this.cwd);
console.log(dir);
await execWithLog("yarn", ["exec", "env"], this.cwd);
await execWithLog("yarn", args, this.cwd);
}

Expand Down
2 changes: 1 addition & 1 deletion test/commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ describe("install", () => {
);
});

it("jsr add --yarn @std/[email protected] - forces yarn", async () => {
it.only("jsr add --yarn @std/[email protected] - forces yarn", async () => {
await withTempEnv(
["i", "--yarn", "@std/[email protected]"],
async (dir) => {
Expand Down

0 comments on commit b44aac4

Please sign in to comment.