From 13d4e063c0d762ab955fde366de9889f1292c991 Mon Sep 17 00:00:00 2001 From: Florian Walter <89262088+fw10@users.noreply.github.com> Date: Tue, 21 Feb 2023 17:04:25 +0100 Subject: [PATCH] Fixed bug in the logging --- todo.txt | 2 +- utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/todo.txt b/todo.txt index a3233a6..0435f2e 100644 --- a/todo.txt +++ b/todo.txt @@ -1,6 +1,6 @@ - Add it to the NPM registry - Add functionality to explicitly include certain files that my packager excludes (sample use case: `node_modules` may contain 2nd party code) -- Dry run functionality +- Dry run functionality - Return JSON - Have a test to check e.g. if a `.js` file exists in the folder to zip up and otherwise say something like "You're sure this is the correct folder?" diff --git a/utils.go b/utils.go index 1fc3169..7abc990 100644 --- a/utils.go +++ b/utils.go @@ -349,7 +349,7 @@ func IsPublicFolder(path string) bool { if strings.HasSuffix(path, publicFolderPath) || strings.Contains(path, fileInPublicFolderPath) { if !didPrintPublicMsg { - log.Info("\tIgnoring `build` folder") + log.Info("\tIgnoring `public` folder") didPrintPublicMsg = true }