Skip to content

Commit

Permalink
fix: 🐛 grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diogofcunha committed Jan 18, 2024
1 parent 5962543 commit 2e414ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class WeightedGraphEdgeError extends Error {
super(
type === WeightedGraphEdgeErrorType.ShouldProvideWeight
? `Can't add an edge to a weighted graph without weight`
: `Can't add an edge to a unweighted graph with weight`
: `Can't add an edge to an unweighted graph with weight`
);
}
}
Expand Down

0 comments on commit 2e414ed

Please sign in to comment.