Skip to content

Commit

Permalink
docs: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidWells committed Dec 10, 2019
1 parent fb22e03 commit 19d30a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/functions/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ class FunctionsListCommand extends Command {
(config.build && config.build.Functions)

if (typeof functionsDir === 'undefined') {
this.error('Functions directory is undefined, did you forget to set it in netlify.toml?')
this.log('Functions directory is undefined')
this.log('Please verify build.functions is set in your Netlify configuration file (netlify.toml/yml/json)')
this.log('See https://docs.netlify.com/configure-builds/file-based-configuration/ for more information')
process.exit(1)
}

Expand Down

0 comments on commit 19d30a9

Please sign in to comment.