From 38ad750001e7087efe7df5d4f022f2ff58404d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Tue, 9 Apr 2024 20:59:11 +0200 Subject: [PATCH] Moar typos --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a68bc31..3919d3e 100644 --- a/main.go +++ b/main.go @@ -88,7 +88,7 @@ func processModifiedFile(filePath, directory, destDir string) { fileName := strings.TrimSuffix(filepath.Base(filePath), filepath.Ext(filePath)) slug := slug.Make(fileName) - // Creating destiny directory + // Creating destination directory newDir := filepath.Join(destDir, slug) err := os.MkdirAll(newDir, os.ModePerm) if err != nil { @@ -96,7 +96,7 @@ func processModifiedFile(filePath, directory, destDir string) { return } - // Copy modified file to the new destiny + // Copy modified file to the new destination newFilePath := filepath.Join(newDir, "index.md") err = copyFile(filePath, newFilePath) if err != nil {