linguist: OSAscript JS is detected incorrectly

Preliminary Steps

Please confirm you have…

Problem Description

In addition to AppleScript, Apple also allows JavaScript to be used for desktop automation. Such scripts can be executed with #!/usr/bin/env osascript -l JavaScript. Linguist incorrectly identifies this as an AppleScript shebang.

URL of the affected repository:

https://github.com/Gaelan/WordGit

Last modified on:

2018-05-30

Expected language:

JavaScript

Detected language:

AppleScript

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@lildude, how’re you tracking with the fix?

Whoops. Got distr… oh look, a kite 😄