Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Jul 4, 2024
1 parent 97d4293 commit b59bb6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from "node:fs";
import * as path from "node:path";
import * as os from "node:os";
import semiver from 'semiver';
import semiver from "semiver";
import { exec, writeJson } from "../src/utils";

export interface DenoJson {
Expand Down Expand Up @@ -33,7 +33,7 @@ export async function runJsr(
}, captureOutput);
}

export async function isBunSupportNpmrc(cwd: string){
export async function isBunSupportNpmrc(cwd: string) {
const version = await exec("bun", ["--version"], cwd, undefined, true);
// bun v1.1.18 supports npmrc https://bun.sh/blog/bun-v1.1.18#npmrc-support
return version != null && semiver(version, "1.1.18") >= 0;
Expand Down

0 comments on commit b59bb6d

Please sign in to comment.