Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#### :bug: Bug fix

- Fix formatting of nested records in `.resi` files. https://github.com/rescript-lang/rescript/pull/7741
- Don't format and don't check formatting of dependencies. https://github.com/rescript-lang/rescript/pull/7748

#### :memo: Documentation

Expand Down
4 changes: 3 additions & 1 deletion rewatch/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ fn get_all_files() -> Result<Vec<String>> {
let mut files: Vec<String> = Vec::new();

for (_package_name, package) in build_state {
if let Some(source_files) = package.source_files {
if package.is_local_dep
&& let Some(source_files) = package.source_files
{
for (path, _metadata) in source_files {
if let Some(extension) = path.extension() {
if extension == "res" || extension == "resi" {
Expand Down