Skip to content

Commit

Permalink
Removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Jan 7, 2024
1 parent a9274c8 commit 62faf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marv-rdf-driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = (options) => {
function createValidationError(validate) {
let message;
const errors = validate.errors;
const instancePath = errors[0].instancePath || 'migration script';
const instancePath = errors[0].instancePath;
switch (errors[0].keyword) {
case 'type': {
const fault = errors[0].message
Expand Down

0 comments on commit 62faf1b

Please sign in to comment.