From d14426992765b518d8e07ea70d15a2a575614791 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 15 Apr 2023 10:32:04 +0100 Subject: [PATCH] fix: daily email path --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 26a618d0..f3bfb7d0 100755 --- a/run +++ b/run @@ -13,7 +13,7 @@ function task:daily { # Find the next post date based on the last post in the directory. local next_date if [[ "${1}" == "next" ]]; then - next_date=$(ls -1 src/daily-emails | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') + next_date=$(ls -1 src/content/daily-email | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') else next_date="${1}" fi