Skip to content

Commit

Permalink
fix: exclude test WebAssembly from linguist (#8868)
Browse files Browse the repository at this point in the history
Github displays nearcore language as WebAssembly which is confusing:
<img width="464" alt="Screenshot 2023-04-03 at 11 49 02" src="https://user-images.githubusercontent.com/3171838/229474854-3597d9ec-6f7c-4efe-815c-11a3e4bee23d.png">
This is caused by #8792.
Fixed by ignoring test wast files.
  • Loading branch information
pugachAG authored Apr 3, 2023
1 parent 83436c7 commit 89513db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
**/package-lock.json linguist-generated=true -diff
# Disable linguist for WebAssembly files.
# Those are used to test the runtime and should not be indexed.
*.wasm linguist-detectable=false
*.wast linguist-detectable=false
*.wat linguist-detectable=false

0 comments on commit 89513db

Please sign in to comment.