File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22 "extends": "@ljharb",
33 "root": true,
44 "rules": {
5+ "array-bracket-newline": 0,
6+ "array-element-newline": 0,
57 "indent": [2, 4],
68 "strict": 0,
79 "complexity": 0,
810 "consistent-return": 0,
911 "curly": 0,
12+ "dot-notation": [2, { "allowKeywords": true }],
1013 "func-name-matching": 0,
1114 "func-style": 0,
1215 "global-require": 0,
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ node_js:
1616 - " 0.6"
1717before_install :
1818 - ' if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
19- - ' if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4 }" = "iojs " ]; then npm install -g npm@4.5 ; elif [ "${TRAVIS_NODE_VERSION}" ! = "0.6 " ] && [ "${TRAVIS_NODE_VERSION}" ! = "0.9 " ]; then npm install -g npm; fi'
19+ - ' if [ "${TRAVIS_NODE_VERSION}" ! = "0.6 " ] && [ "${TRAVIS_NODE_VERSION}" ! = "0.9 " ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4 }" = "iojs " ]; then npm install -g npm@4.5 ; else npm install -g npm; fi ; fi'
2020install :
21- - ' if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}" ; else npm install; fi;'
21+ - ' if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then ( nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install) ; else npm install; fi;'
2222script :
2323 - ' if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
2424 - ' if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
@@ -154,8 +154,6 @@ matrix:
154154 env : TEST=true ALLOW_FAILURE=true
155155 - node_js : " 0.9"
156156 env : TEST=true ALLOW_FAILURE=true
157- - node_js : " 0.6"
158- env : TEST=true ALLOW_FAILURE=true
159157 - node_js : " 0.4"
160158 env : TEST=true ALLOW_FAILURE=true
161159 # #- node_js: "7"
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ var parse = path.parse || require('path-parse');
44module . exports = function nodeModulesPaths ( start , opts ) {
55 var modules = opts && opts . moduleDirectory
66 ? [ ] . concat ( opts . moduleDirectory )
7- : [ 'node_modules' ]
8- ;
7+ : [ 'node_modules' ] ;
98
109 // ensure that `start` is an absolute path at this point,
1110 // resolving against the process' current working directory
You can’t perform that action at this time.
0 commit comments