chore: bump deps (#2000)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import * as path from "https://deno.land/std@0.192.0/path/mod.ts";
|
||||
import { basename, dirname, extname, fromFileUrl } from "../../deps.ts";
|
||||
|
||||
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
|
||||
const __dirname = dirname(fromFileUrl(import.meta.url));
|
||||
|
||||
const links: string[] = [];
|
||||
for (const file of Deno.readDirSync(__dirname)) {
|
||||
if (file.name.startsWith("index")) continue;
|
||||
const name = path.basename(file.name, path.extname(file.name));
|
||||
const name = basename(file.name, extname(file.name));
|
||||
links.push(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user