format scripts

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-23 23:35:49 +03:00
parent d52dd5249f
commit e0daeb97f4
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -1,6 +1,5 @@
import { slugify } from 'https://deno.land/x/slugify/mod.ts'; import { slugify } from "https://deno.land/x/slugify/mod.ts";
for (const sourceFileName of Deno.args) { for (const sourceFileName of Deno.args) {
console.log(slugify(sourceFileName).replace(/_+/g, '-').toLowerCase()); console.log(slugify(sourceFileName).replace(/_+/g, "-").toLowerCase());
} }