Skip to content

Commit

Permalink
Fix missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Mar 13, 2020
1 parent 33e78ee commit 4f7b7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/structured-errors/error-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export const errorMap = {
},
// Directory/file name exceeds OS character limit
"11331": {
text: context =>
text: (context): string =>
[
`One or more path segments are too long - they exceed OS filename length limit.\n`,
`Page path: "${context.path}"`,
Expand Down

0 comments on commit 4f7b7a3

Please sign in to comment.