1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/tests/specs/run/no_deno_json/code/noconfig.ts

9 lines
162 B
TypeScript
Raw Normal View History

// ensure the cwd is this directory
const cwd = Deno.cwd();
if (!cwd.endsWith("code")) {
console.log(cwd);
throw "FAIL";
} else {
console.log("success");
}