Skip to content

Commit

Permalink
refactor(get.dart): comment out unused adapter instances and change t…
Browse files Browse the repository at this point in the history
…he declaration of adapter to be late-initialized
  • Loading branch information
insign committed May 15, 2023
1 parent b11661d commit 957f888
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## v0.28.0
- refactor(get.dart): comment out unused adapter instances and change the declaration of adapter to be late-initialized
## v0.27.0
- Many fixes
## v0.26.0
Expand Down
6 changes: 3 additions & 3 deletions lib/commands/devs/get.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class GetCommand extends Command {

final String url = argResults!.rest[0];

final Aria2Adapter aria2Adapter = Aria2Adapter();
final CurlAdapter curlAdapter = CurlAdapter();
final WgetAdapter wgetAdapter = WgetAdapter();
// final Aria2Adapter aria2Adapter = Aria2Adapter();
// final CurlAdapter curlAdapter = CurlAdapter();
// final WgetAdapter wgetAdapter = WgetAdapter();
final DioAdapter dioAdapter = DioAdapter();

late final DloaderAdapter adapter;
Expand Down
2 changes: 1 addition & 1 deletion lib/pubspec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const name = 'xpm';
const description =
'Universal package manager for any unix-like distro including macOS. Also experimental Windows support.';
const version = '0.27.0';
const version = '0.28.0';
const homepage = 'https://xpm.link';
const repository = 'https://github.com/verseles/xpm';
const executables = '{xpm: null}';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: xpm
description: Universal package manager for any unix-like distro including macOS. Also experimental Windows support.
version: 0.27.0
version: 0.28.0
homepage: https://xpm.link
repository: https://github.com/verseles/xpm
executables:
Expand Down

0 comments on commit 957f888

Please sign in to comment.