WebsiteBench / tasks /linkedin /solution /site /implementation /runtime-support /websitebench-migrate.mjs
Download tasks/linkedin/solution/site/implementation/runtime-support/websitebench-migrate.mjs from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/solution/site/implementation/runtime-support/websitebench-migrate.mjs
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/linkedin/solution/site/implementation/runtime-support/websitebench-migrate.mjs
-
curl -L -o websitebench-migrate.mjs https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/solution/site/implementation/runtime-support/websitebench-migrate.mjs
281 Bytes
| import { dirname } from "node:path"; | |
| import { fileURLToPath } from "node:url"; | |
| const originalDirectory = process.cwd(); | |
| process.chdir(dirname(fileURLToPath(import.meta.url))); | |
| try { | |
| await import("./scripts/migrate-sqlite.mjs"); | |
| } finally { | |
| process.chdir(originalDirectory); | |
| } | |