0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/tools
Nikhil Komawar 5a17ab3ff3
tools: rename unused variale in more pythonic way
The 'Main' function in tools/test.py file was using a variable named
``all_outcomes`` to store a value not being used. It is a best practice
to name unused variables, often return values of functions/methods (as
in this case) as ``_`` [1]. This just helps keep the code a bit cleaner
and avoid any silly mistakes.

PR-URL: https://github.com/nodejs/node/pull/16171
Refs: [1] https://stackoverflow.com/a/5477153
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-10-19 02:26:03 -02:00
..
configure.d
doc doc: support multidimensional arrays in type link 2017-10-15 21:53:07 -07:00
eslint tools: update to ESLint 4.3.0 2017-07-25 12:21:32 -07:00
eslint-rules errors,tools: ASCIIbetical instead of alphabetical 2017-09-28 09:16:20 -04:00
gyp gyp: implement LD/LDXX for ninja and FIPS 2017-08-23 16:24:37 -04:00
icu util: implement WHATWG Encoding Standard API 2017-07-24 14:04:13 -07:00
macos-installer tools, build: refactor macOS installer 2017-09-28 02:05:59 -03:00
msvs tools: bump vswhere helper to 2.0.0 2017-09-03 17:15:27 -04:00
pkgsrc
rpm
certdata.txt
check-imports.py
compress_json.py
cpplint.py src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00
create_android_makefiles
create_expfile.sh
genv8constants.py tools: minor performance improvement 2017-10-14 11:33:42 +02:00
getmoduleversion.py
getnodeversion.py
gyp_node.py
install.py build: fix shared installing target 2017-09-28 02:04:12 -03:00
js2c.py
license2rtf.js tools: use more template literals 2017-10-08 15:46:11 -07:00
license-builder.sh deps: update license-builder & LICENSE for c-ares 2017-10-02 01:16:11 -03:00
lint-js.js tools: replace concatenation with string templates 2017-10-09 23:04:54 -07:00
lsan_suppressions.txt
macosx-firewall.sh
make-v8.sh
Makefile
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh build,tools: do not force codesign prefix 2017-07-19 16:38:27 -05:00
osx-pkg-postinstall.sh build: add npx to installers 2017-07-17 08:49:10 -07:00
osx-productsign.sh
release.sh tools: add custom private key option 2017-08-27 11:03:50 -03:00
run-valgrind.py
sign.bat
specialize_node_d.py
test-npm-package.js tools: replace string concat 2017-10-12 18:11:56 -07:00
test-npm.sh
test-v8.bat build,test: run v8 tests on windows 2017-07-26 18:08:30 -07:00
test.py tools: rename unused variale in more pythonic way 2017-10-19 02:26:03 -02:00
update-authors.sh
update-eslint.sh tools: remove stray package-lock.json file 2017-08-18 14:32:28 -07:00
utils.py