mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
8 lines
162 B
TypeScript
8 lines
162 B
TypeScript
// ensure the cwd is this directory
|
|
const cwd = Deno.cwd();
|
|
if (!cwd.endsWith("code")) {
|
|
console.log(cwd);
|
|
throw "FAIL";
|
|
} else {
|
|
console.log("success");
|
|
}
|