Skip to content

Detect shebang for Groovy files - #9709

Merged
Martin Aeschlimann (aeschli) merged 1 commit into
microsoft:masterfrom
hjmallon:master
Aug 22, 2016
Merged

Martin Aeschlimann (aeschli) merged 1 commit into
microsoft:masterfrom
hjmallon:master

Conversation

@hjmallon

Copy link
Copy Markdown
  • Should match "#!groovy", "#!/usr/bin/env /path/to/groovy" & "#!/usr/bin/groovy" types
  • Very useful for people editing Jenkinsfile configuration (which has no file extension) and hopefully others too

@msftclas

Hi hm1992, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

* Should match "#!groovy", "#!/usr/bin/env /path/to/groovy" & "#!/usr/bin/groovy" types
* Very useful for people editing Jenkinsfile configuration (which has no file extension)
@hjmallon

Copy link
Copy Markdown
Author

Hi Martin Aeschlimann (@aeschli) I have just updated the commit to simplify the regex slightly.

@aeschli
Martin Aeschlimann (aeschli) merged commit f6e9a5b into microsoft:master Aug 22, 2016
@aeschli

Copy link
Copy Markdown
Contributor

Thanks hm1992 !

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants