Skip to content

Commit

Permalink
Merge pull request #20 from FriendsOfREDAXO/schuer-cleanup
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
schuer authored Sep 22, 2024
2 parents 0667154 + 1581373 commit 1c77ee2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/generate-image-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { emptyDirSync, ensureDirSync, copySync } from "@std/fs";
const sourceDirectory = 'source';
const imagesDirectory = 'images';

/**
* Prepare image configuration
*/
const imageConfiguration = parse(Deno.readTextFileSync(`${sourceDirectory}/images.yml`)) as { images: [] };

if (imageConfiguration === null && typeof imageConfiguration !== "object") {
Expand Down

0 comments on commit 1c77ee2

Please sign in to comment.