-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify null for publishDirJSONFileName #18
Comments
went ahead and made one, thanks for the report netlify/build#1402 |
> require('toml').parse('test = null')
Uncaught:
[SyntaxError: Expected "'", "'''", "+", "-", "[", "\"", "\"\"\"", "_", "false", "true", "{", [ \t] or [0-9] but "n" found.] {
expected: [
{ type: 'literal', value: "'", description: `"'"` },
{ type: 'literal', value: "'''", description: `"'''"` },
{ type: 'literal', value: '+', description: '"+"' },
{ type: 'literal', value: '-', description: '"-"' },
{ type: 'literal', value: '[', description: '"["' },
{ type: 'literal', value: '"', description: '"\\""' },
{ type: 'literal', value: '"""', description: '"\\"\\"\\""' },
{ type: 'literal', value: '_', description: '"_"' },
{ type: 'literal', value: 'false', description: '"false"' },
{ type: 'literal', value: 'true', description: '"true"' },
{ type: 'literal', value: '{', description: '"{"' },
{ type: 'class', value: '[ \\t]', description: '[ \\t]' },
{ type: 'class', value: '[0-9]', description: '[0-9]' }
],
found: 'n',
offset: 7,
line: 1,
column: 8
} |
interesting. i'm not fluent in the spec but maybe worth improving that error message with links to source for users |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am trying to use the plugin to only create the serverless function. However, Netlify doesn't seem to like
null
as a parameter.With this configuration:
The following error comes from Netlify:
The text was updated successfully, but these errors were encountered: