Skip to content

Commit

Permalink
Merge pull request #73 from kevmoo/latest_deps
Browse files Browse the repository at this point in the history
Support the latest dependencies, prepare for release
  • Loading branch information
filiph authored May 5, 2021
2 parents 63dc851 + 94ed2be commit c29a62d
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 88 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.17

- Update to latest dependencies.
- Require Dart 2.12.

## 2.0.16

- Add a summary of the most broken links (as opposed to just warnings)
Expand Down
4 changes: 2 additions & 2 deletions bin/linkcheck.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import 'dart:io';
import 'package:linkcheck/linkcheck.dart';

Future<int> main(List<String> arguments) async {
await runZoned(() async {
await runZonedGuarded(() async {
// Run the link checker. The returned value will be the program's exit code.
exitCode = await run(arguments, stdout);
}, onError: (Object e, StackTrace stackTrace) {
}, (Object e, StackTrace stackTrace) {
stderr.writeln("INTERNAL ERROR: Sorry! Please open "
"https://github.com/filiph/linkcheck/issues/new "
"in your favorite browser and copy paste the following output there:"
Expand Down
2 changes: 1 addition & 1 deletion lib/linkcheck.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const hostsFlag = "hosts";
const inputFlag = "input-file";
const redirectFlag = "show-redirects";
const skipFlag = "skip-file";
const version = "2.0.16";
const version = "2.0.17";
const versionFlag = "version";
final _portOnlyRegExp = RegExp(r"^:\d+$");

Expand Down
Loading

0 comments on commit c29a62d

Please sign in to comment.