Skip to content

Commit

Permalink
fix: ensure sourcePath always matches input
Browse files Browse the repository at this point in the history
  • Loading branch information
skonves committed Jun 19, 2023
1 parent 1039439 commit 498202b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@ function runParser(options: {
});
push(errors, validation.errors);

value = validation.service;
value = validation.service
? { ...validation.service, sourcePath }
: undefined;
} catch (ex) {
errors.push({
code: 'PARSER_ERROR',
Expand Down

0 comments on commit 498202b

Please sign in to comment.