Skip to content

Commit 5f1c004

Browse files
committed
Improve warning message for nonexistant files
1 parent 2f5a047 commit 5f1c004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pluginCore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const findHtmlFiles = async function (fileAndDirPath, directoryFilter) {
7373

7474
if (!(await isFile(fileAndDirPath))) {
7575
console.warn(
76-
`Folder ${fileAndDirPath} was provided in "checkPaths", but does not exist - it either indicates something went wrong with your build, or you can simply delete this folder from your "checkPaths" in netlify.toml`,
76+
`Path ${fileAndDirPath} was provided in "checkPaths", but does not exist. This could indicate a problem with your build. If you want, you can simply delete this path from your "checkPaths" key in netlify.toml`,
7777
)
7878
return EMPTY_ARRAY
7979
}

0 commit comments

Comments
 (0)