Skip to content

Commit

Permalink
Update src/commands/deploy/deploy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
  • Loading branch information
lukasholzer and eduardoboucas committed Mar 13, 2024
1 parent 82c85ae commit 20392ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy/deploy.ts
Expand Up @@ -119,7 +119,7 @@ const validateDeployFolder = async (deployFolder: string) => {
} catch (error_) {
if (error_ && typeof error_ === 'object' && 'code' in error_) {
if (error_.code === 'ENOENT') {
return error(`No such directory ${deployFolder}! Did you forget to run a build?`)
return error(`The deploy directory "${deployFolder}" has not been found. Did you forget to run 'netlify build'?`)
}

// Improve the message of permission errors
Expand Down

0 comments on commit 20392ec

Please sign in to comment.