mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix: Ensure to report validation errors with ServerlessError
This commit is contained in:
parent
90a9ffed63
commit
813f7d3dbe
@ -29,6 +29,7 @@ class Serverless {
|
||||
this.configurationPath = ensureString(configObject.configurationPath, {
|
||||
isOptional: true,
|
||||
name: 'config.configurationPath',
|
||||
Error: ServerlessError,
|
||||
});
|
||||
if (this.configurationPath) {
|
||||
this.configurationPath = path.resolve(this.configurationPath);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user