Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reduce work to test if executable ends with a 'g'. #138

Merged
merged 1 commit into from
Jan 29, 2019
Merged

Reduce work to test if executable ends with a 'g'. #138

merged 1 commit into from
Jan 29, 2019

Commits on Jan 17, 2019

  1. Reduce work to test if executable ends with a 'g'.

    Avoid:
    
    * declaring path var
    * requiring path module
    * calling path.basename()
    * calling slice() to get one letter from the string
    
    Instead:
    
    * refer to it from the argv array
    * refer to it as one less than the executable paths length
    elidoran committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    37d0b84 View commit details
    Browse the repository at this point in the history