Skip to content

Commit

Permalink
fix: private files included in analysis (#116)
Browse files Browse the repository at this point in the history
* git fix: private files included in analysis

* chore: updated the changelog and the version in the pubspec.yaml file

* chore: updated version in pubspec.yaml

* Resolve relative part URIs

---------

Co-authored-by: Szymon Uglis <szymon@l7ssha.xyz>
Co-authored-by: Abitofevrything <mylo.fawcett@gmail.com>
  • Loading branch information
3 people authored Mar 4, 2023
1 parent 0c07dcb commit 5a9959d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.4.1
__Bug fixes__:
- Fix `part` directives breaking compilation.

## 4.4.0
__Miscellaneous__:
- Bump `analyzer` to 5.7.1, `args` to 2.4.0, `dart_style` to 2.2.5, `logging` to 1.1.1, `meta` to 1.9.0, `nyxx` to 4.5.0, `nyxx_interactions` to 4.5.0, `path` to 1.8.3 `build_runner` to 2.1.0, `coverage` to 1.6.3, `lints` to 2.0.1, `mockito` to 5.3.2, and `test` to 1.23.1.
Expand Down
2 changes: 1 addition & 1 deletion bin/compile/element_tree_visitor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ class EntireAstVisitor extends RecursiveAstVisitor<void> {
super.visitPartDirective(directive);

// Visit "part-ed" files of interesting sources
_interestingSources.add(directive.uri.stringValue!);
_interestingSources.add((directive.element!.uri as DirectiveUriWithSource).source.fullName);
}
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: nyxx_commands
version: 4.4.0
version: 4.4.1
description: A framework for easily creating slash commands and text commands for Discord using the nyxx library.

homepage: https://github.com/nyxx-discord/nyxx_commands/blob/main/README.md
Expand Down

0 comments on commit 5a9959d

Please sign in to comment.