Google Apps Script project files mis-identified as Gosu, but they're vanilla JS #6667
Replies: 1 comment
-
The reason this is happening is because the linguist/lib/linguist/heuristics.yml Lines 307 to 314 in ee9119e ... so either your files are matching the Gosu entry or are falling through to the classifier which is making a guess based on the samples we have. The fix is to submit a PR to extend the heuristics to detect all instances of JavaScript Until then, you can use an override to force the language. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
.gs files may not be Gosu. I have a Google Apps Script (Google Workspace apps, Google Spreadsheet apps, etc) app that Github is misidentifying the language(s) on, they referred me to you all.
this seems to be the offending line, but I'm not sure of a fix beyond that since I'm not familiar with your functionality.
Expected behaviour
The file in question is all vanilla javascript (all Google Workspace apps ending in .gs are vanilla javascript, to my knowledge). Google's Guide link
Related discussion
referred by Github support ticket #2509380
Additional notes
N/A
Beta Was this translation helpful? Give feedback.
All reactions