0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-11 22:59:41 -04:00
deno/tests/specs/lockfile/cache_bust_integrity_failure/update.ts

7 lines
324 B
TypeScript
Raw Normal View History

// make the path in the deno_dir differ from the remote server
// and what's stored in the lockfile
const filePath =
"./deno_dir/remote/http/localhost_PORT4545/3011c891e5bd4172aa2e157e4c688ab6f31e91da9719704a9a54aa63faa99c88";
const text = Deno.readTextFileSync(filePath);
Deno.writeTextFileSync(filePath, "//\n" + text);