nl_tokens: 1 . fetch . travis . yml
pl_tokens: function travisTransform ( travisYML ) { try { var travisJSON = yaml . safeLoad ( travisYML , { schema : yaml . FAILSAFE_SCHEMA } ) } catch ( e ) { // ignore .travis.yml if it can not be parsed return } // No node versions specified in root level of travis YML // There may be node versions defined in the matrix or jobs keys, but those can become // far too complex for us to handle, so we don’t if ( ! _ . <mask> ( travisJSON , 'node_js' ) ) return const nodeVersionFromYaml = getNodeVersionsFromTravisYML ( travisYML ) const hasNodeVersion = getNodeVersionIndex ( nodeVersionFromYaml . versions , nodeVersion , codeName ) !== - 1 if ( hasNodeVersion ) return const updatedTravisYaml = addNodeVersionToTravisYML ( travisYML , nodeVersion , codeName , nodeVersionFromYaml ) return updatedTravisYaml }