Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix import in benchmark scripts #111

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions benchmarks/fdir-benchmark.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import child_process from "child_process";
import { Fdir } from "../index";
import { Fdir } from "../src/index";
import b from "benny";

type Version = typeof versions[number] | "current";
Expand Down Expand Up @@ -32,7 +32,7 @@ function addSuite(instance: Fdir, version: Version) {
}

async function fillSuites() {
const { fdir } = await import("../index");
const { fdir } = await import("../src/index");
addSuite(fdir, "current");

versions.forEach((version) => {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/glob-benchmark.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fdir } from "../index";
import { fdir } from "../src/index";
import { glob, globSync } from "glob";
import fg from "fast-glob";
import tg from "tiny-glob";
Expand Down
Loading