Skip to content
Snippets Groups Projects
Select Git revision
  • d0e782ec4e19d66cec804a135949662fa7566392
  • master default protected
  • Legacy_Php7
3 results

vcs.git.class.php

Blame
  • detect-node 484 B
    # ----------------------------------------------------------------------------
    # 
    # EOL - End of life detection - Warn before reaching end of life
    #
    # detect version of NODE JS
    #
    # ----------------------------------------------------------------------------
    # 2020-02-25  v1.0  <axel.hahn@iml.unibe.ch>
    # ----------------------------------------------------------------------------
    
    # ----- example output
    #   node --version
    #   v13.7.0
    
    node --version | cut -f 1 -d "." | sed "s#v##"