Skip to content

Commit

Permalink
Fixed lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
OAGr committed Dec 21, 2023
1 parent 960948b commit 89e330f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/squiggle-lang/src/fr/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ const maker = new FnFactory({
requiresNamespace: false,
});

const makeYearFn = makeDefinition([frNumber], frDate, ([year]) => {
const result = SDate.fromYear(year);
if (!result.ok) {
throw new REOther(result.value);
}
return result.value;
});

export const library = [
...makeNumericComparisons(
maker,
Expand Down

0 comments on commit 89e330f

Please sign in to comment.