Skip to content

Commit

Permalink
Fix #160
Browse files Browse the repository at this point in the history
  • Loading branch information
cannorin committed May 5, 2022
1 parent cd5199b commit b6f9eee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
- Ts2ocaml now fails when it encounters unknown options, instead of just ignoring it.

## [1.4.2] - 2022-03-16
- Fix a bug which caused ts2ocaml to generate invalid type declarations.
- Fix a bug which causes ts2ocaml to crash when loading mutually-referencing source files.
Expand Down
1 change: 1 addition & 0 deletions src/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let main argv =
.Invoke(argv)
.wrap(yargs.terminalWidth() |> Some)
.parserConfiguration({| ``parse-positional-numbers`` = false |})
.strict()
.config()
|> GlobalOptions.register
|> Target.register parse Targets.JsOfOCaml.Target.target
Expand Down

0 comments on commit b6f9eee

Please sign in to comment.