Skip to content

Commit

Permalink
Merge pull request #12127 from adamwirth/patch-1
Browse files Browse the repository at this point in the history
Remove duplicated file extension check (tiny change)
  • Loading branch information
ggetz authored Aug 26, 2024
2 parents 89d15af + a602a61 commit e12391d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Apps/CesiumViewer/CesiumViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function main() {
sourceType = "geojson";
} else if (/\.kml$/i.test(source) || /\.kmz$/i.test(source)) {
sourceType = "kml";
} else if (/\.gpx$/i.test(source) || /\.gpx$/i.test(source)) {
} else if (/\.gpx$/i.test(source)) {
sourceType = "gpx";
}
}
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,3 +404,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu
- [Vladislav Yunev](https://github.com/YunVlad)
- [Levi Montgomery](https://github.com/Levi-Montgomery)
- [Brandon Berisford](https://github.com/BeyondBelief96)
- [Adam Wirth](https://https://github.com/adamwirth)

0 comments on commit e12391d

Please sign in to comment.