Rich Trott
b6a646dc8a
doc: reduce GitHub template verbosity
...
Reduce unnecessarily verbose paragraph to a sentence.
PR-URL: https://github.com/nodejs/node/pull/6801
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-05-19 22:12:23 -07:00
Rich Trott
21b53fe012
tools: disallow deprecated define getter/setter
...
PR-URL: https://github.com/nodejs/node/pull/6774
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Refs: https://github.com/nodejs/node/pull/6768
2016-05-19 22:08:30 -07:00
Rich Trott
37a5a1c497
test: refactor to eliminate __defineGetter__
...
In preparation for a lint rule to flag `__defineGetter__`, refactor the
one remaining instance in the code base.
PR-URL: https://github.com/nodejs/node/pull/6774
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-19 22:07:50 -07:00
James M Snell
baeed8b3d9
doc: improve vm.md copy
...
General improvements to vm module documentation
PR-URL: https://github.com/nodejs/node/pull/6827
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-19 17:40:00 -07:00
Rich Trott
395cc885f4
test: refactor test-tls-reuse-host-from-socket
...
Replace booleans with `common.mustCall()`, migrate from `var` to
`const`, and apply minor formatting changes.
PR-URL: https://github.com/nodejs/node/pull/6756
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-19 13:54:55 -07:00
Doug Wade
bd728574b7
doc: Add resolveNaptr and naptr rrtype docs
...
Updates the dns module documentation to include documentation on
the resolveNaptr method, and also adds the option NAPTR to the
list of valid values for rrtype in dns.resolve(hostname[, rrtype],
callback).
PR-URL: https://github.com/nodejs/node/pull/6586
Fixes: https://github.com/nodejs/node/issues/6507
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-05-19 22:18:49 +02:00
Robert Jefe Lindstaedt
ef8695398b
doc: fix name to match git log
...
Git logs print my full name Robert Jefe Lindstaedt.
When I did #6389 I forgot simply forgot it.
PR-URL: https://github.com/nodejs/node/pull/6880
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-19 19:24:39 +02:00
Jeremiah Senkpiel
4babe656b4
tools: print stderr on bad test.py vmArch check
...
This makes it so you can see why the check fails if it does.
Typically that sort of thing can happen if you are modifying
bootstrapping or `process`.
PR-URL: https://github.com/nodejs/node/pull/6786
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-19 09:53:24 -04:00
Robert Jefe Lindstaedt
ae0f68d6e1
doc: add note for fs.watch virtualized env
...
Fixes: https://github.com/nodejs/node/issues/6765
PR-URL: https://github.com/nodejs/node/pull/6809
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2016-05-19 15:43:04 +02:00
Cheng Zhao
2ab75b7a42
src: add node::FreeEnvironment public API
...
Since debugger::Agent's interface is not exported, third party embedders
will have linking errors if they call Environment's destructor directly.
PR-URL: https://github.com/nodejs/node/pull/3098
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-19 12:58:58 +02:00
Dirceu Pereira Tiegs
fe77de196c
http: use localAddress instead of path
...
Fix `options` usage on `lib/_http_agent.js` for the Legacy API.
Fixes: https://github.com/nodejs/node/issues/5051
PR-URL: https://github.com/nodejs/node/pull/5190
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-19 12:01:57 +02:00
Daniel Wang
b90c52e38d
doc: add added: information for punycode
...
PR-URL: https://github.com/nodejs/node/pull/6805
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-19 11:58:53 +02:00
Saúl Ibarra Corretgé
4fe1d6e75f
unix,stream: fix getting the correct fd for a handle
...
On OSX it's possible that the fd is replaced, so use the proper libuv
API to get the correct fd.
PR-URL: https://github.com/nodejs/node/pull/6753
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-19 09:54:13 +01:00
Rich Trott
f94ebb00d4
dgram,test: add addMembership/dropMembership tests
...
The only tests for `addMembership()` and `dropMembership()` (from the
`dgram` module) were in `test/internet` which means they almost never
get run. This adds checks in `test/parallel`.
PR-URL: https://github.com/nodejs/node/pull/6753
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-18 22:54:07 -07:00
Rich Trott
1ef4916ab9
doc: add added: info for dgram.*Membership()
...
Since I was doing the necessary git archaeology anyway, I took the time
to add YAML information to the docs about when `addMembership()` and
`dropMembership()` first appeared in their current forms.
PR-URL: https://github.com/nodejs/node/pull/6753
Ref: https://github.com/nodejs/node/issues/6578
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-18 22:52:15 -07:00
Rich Trott
03505052a1
test: fix test-debug-port-cluster flakiness
...
Remove port increment by `1337` which appears to sometimes result in a
port that is already in use. There is no reason not to use
`common.PORT`.
PR-URL: https://github.com/nodejs/node/pull/6769
Fixes: https://github.com/nodejs/node/issues/6754
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-18 09:23:56 -07:00
Rich Trott
2c926dc6eb
test: add logging for test-debug-port-cluster
...
The test is currently flaky and CI provides no real information because
the test times out rather than failing on an assertion. Add logging to
gather more information about the failure.
Refs: https://github.com/nodejs/node/issues/6754
PR-URL: https://github.com/nodejs/node/pull/6769
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-18 09:23:27 -07:00
Anna Henningsen
178e634114
src: fix without-intl build
...
In 5d38d543cd , an additional property in node_config.cc was added
whose definition depends on having the local `env` variable declared,
which in turn depended on `NODE_HAVE_I18N_SUPPORT` being defined.
Moving `env = ...` out of the `#ifdef` block allows building via
`./configure --without-intl` again.
PR-URL: https://github.com/nodejs/node/pull/6820
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-18 17:31:05 +02:00
Santiago Gimeno
89460f1f4d
test: fix flaky test-stdout-close-catch
...
Make sure that `catch-stdout-error` has written data before the
destination process exits.
Fixes: https://github.com/nodejs/node/issues/6791
PR-URL: https://github.com/nodejs/node/pull/6808
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-05-18 10:20:24 +02:00
Brian White
27549f64ce
test: add more path.basename() tests
...
PR-URL: https://github.com/nodejs/node/pull/6590
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-05-18 02:12:47 -04:00
Brian White
7d404122d4
test: remove duplicate path tests
...
The TypeError checks are already done later on in the test file
for all path functions.
PR-URL: https://github.com/nodejs/node/pull/6590
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-05-18 02:12:42 -04:00
Brian White
dfaa9c9055
path: fix basename() regressions
...
This commit fixes a regression in basename() for the case when a
supplied extension name completely matches the resulting basename.
Fixes: https://github.com/nodejs/node/issues/6587
PR-URL: https://github.com/nodejs/node/pull/6590
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-05-18 02:12:28 -04:00
James M Snell
2ccba1f9fa
doc: clarify fs.mkdtemp prefix argument
...
Per: https://github.com/nodejs/node/issues/6142
Clarify the prefix argument.
Fixes: https://github.com/nodejs/node/issues/6142
PR-URL: https://github.com/nodejs/node/pull/6800
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-05-17 20:50:18 -07:00
Myles Borins
56ae651c80
test: robust handling of env for npm-test-install
...
Currently we are overwriting the entire env object of the child-process
spawned in `npm-test-install`. This commit alternatively clones the
`process.env` object and modifies it with the neccessary changes before
passing it the the spawned process.
Fixes: https://github.com/nodejs/node/issues/6736
PR-URL: https://github.com/nodejs/node/pull/6797
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 18:41:56 -07:00
Devon Rifkin
149bea0fc4
test: cluster-setup-master online workers check
...
Previously a `checks.workers` boolean was conditionally set, but never
checked. Additionally, it was never actually set because
`cluster.onlineWorkers` is always undefined.
PR-URL: https://github.com/nodejs/node/pull/6535
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-18 00:15:28 +02:00
suryagh
377eb22bf5
test: added tests for https-agent-getname
...
PR-URL: https://github.com/nodejs/node/pull/6762
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-05-17 15:00:04 -07:00
Anna Henningsen
b53473f0e7
zlib: remove _closed in source
...
This is purely cleanup and carries no visible behavioural changes.
Up to now, `this._closed` was used in zlib.js as a
synonym of `!this._handle`. This change makes this connection
explicit and removes the `_closed` property from zlib streams,
as the previous duplication has been the cause of subtle errors
like https://github.com/nodejs/node/issues/6034 .
This also makes zlib errors lead to an explicit `_close()` call
rather than waiting for garbage collection to clean up the handle,
thus returning memory resources earlier in the case of an error.
Add a getter for `_closed` so that the property remains accessible
by legacy code.
PR-URL: https://github.com/nodejs/node/pull/6574
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 23:28:06 +02:00
Anna Henningsen
ba10ea8f3a
doc: add added: information for fs
...
Ref: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/6717
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 23:16:34 +02:00
Evan Lucas
26120e2eb0
2016-05-17, Version 6.2.0 (Stable)
...
- **buffer**: fix lastIndexOf and indexOf in various edge cases (Anna
Henningsen) [#6511 ](https://github.com/nodejs/node/pull/6511 )
- **child_process**: use /system/bin/sh on android (Ben Noordhuis)
[#6745 ](https://github.com/nodejs/node/pull/6745 )
- **deps**:
- upgrade npm to 3.8.9 (Rebecca Turner)
[#6664 ](https://github.com/nodejs/node/pull/6664 )
- upgrade to V8 5.0.71.47 (Ali Ijaz Sheikh)
[#6572 ](https://github.com/nodejs/node/pull/6572 )
- upgrade libuv to 1.9.1 (Saúl Ibarra Corretgé)
[#6796 ](https://github.com/nodejs/node/pull/6796 )
- Intl: ICU 57 bump (Steven R. Loomis)
[#6088 ](https://github.com/nodejs/node/pull/6088 )
- **repl**:
- copying tabs shouldn't trigger completion (Eugene Obrezkov)
[#5958 ](https://github.com/nodejs/node/pull/5958 )
- exports `Recoverable` (Blake Embrey)
[#3488 ](https://github.com/nodejs/node/pull/3488 )
- **src**: add O_NOATIME constant (Rich Trott)
[#6492 ](https://github.com/nodejs/node/pull/6492 )
- **src,module**: add --preserve-symlinks command line flag (James M
Snell) [#6537 ](https://github.com/nodejs/node/pull/6537 )
- **util**: adhere to `noDeprecation` set at runtime (Anna Henningsen)
[#6683 ](https://github.com/nodejs/node/pull/6683 )
As of this release the 6.X line now includes 64-bit binaries for Linux
on Power Systems running in big endian mode in addition to the existing
64-bit binaries for running in little endian mode.
PR-URL: https://github.com/nodejs/node/pull/6810
2016-05-17 16:09:13 -05:00
Kirill Fomichev
00b200fc34
doc: remove link to Sign in crypto.md
...
PR-URL: https://github.com/nodejs/node/pull/6812
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-05-17 21:53:45 +02:00
Rich Trott
d3f3e183bf
doc: add added: in for tty
...
Refs: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/6783
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 12:31:47 -07:00
silverwind
50261929bd
doc: update openssl.org hash links
...
The hash link format has changed from #HASH_LINK to #HASH-LINK.
PR-URL: https://github.com/nodejs/node/pull/6817
Reviewed-By: Roman Klauke <romankl@users.noreply.github.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 21:24:41 +02:00
James M Snell
dcccbfdc79
src: refactor require('constants')
...
The require('constants') module is currently undocumented and mashes
together unrelated constants. This refactors the require('constants')
in favor of distinct os.constants, fs.constants, and crypto.constants
that are specific to the modules for which they are relevant. The
next step is to document those within the specific modules.
PR-URL: https://github.com/nodejs/node/pull/6534
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
2016-05-17 11:05:18 -07:00
James M Snell
f856234ffa
process: internal/process/stdio.js cleanup / modernization
...
Avoid using deprecated getter syntax plus other
miscellaneous updates.
PR-URL: https://github.com/nodejs/node/pull/6766
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 10:45:20 -07:00
Rich Trott
42ede93d14
doc: trim GitHub template comments
...
Make the comments in the GitHub templates slightly more concise.
PR-URL: https://github.com/nodejs/node/pull/6755
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
2016-05-16 22:12:46 -07:00
Kirill Fomichev
ffc708daad
doc: fix links in socket.connecting
...
PR-URL: https://github.com/nodejs/node/pull/6657
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-16 18:38:07 -07:00
Rich Trott
b55becd0dc
doc: copyedit maxBuffer note for child_process
...
PR-URL: https://github.com/nodejs/node/pull/6760
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-16 18:29:03 -07:00
Saúl Ibarra Corretgé
b78a704369
deps: upgrade libuv to 1.9.1
...
Fixes: https://github.com/nodejs/node/issues/4002
Fixes: https://github.com/nodejs/node/issues/5384
Fixes: https://github.com/nodejs/node/issues/6563
Refs: https://github.com/nodejs/node/issues/2680#issuecomment-213521708
PR-URL: https://github.com/nodejs/node/pull/6796
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-05-17 02:28:48 +02:00
James M Snell
f293d0b0c8
lib: replace legacy uses of __defineGetter__
...
Minor clean up. There are still some places in core that use
the legacy __defineGetter__ syntax. This updates most of those.
PR-URL: https://github.com/nodejs/node/pull/6768
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-05-16 17:01:34 -07:00
Rich Trott
78520fa472
test,dgram: add tests for setBroadcast()
...
The only tests for `setBroadcast()` (from the `dgram` module) were in
`test/internet` which means they almost never get run. This adds a
minimal test that can check JS-land functionality in `test/parallel`.
I also expanded a comment and did some minor formatting on the existing
`test/internet` test. If there were an easy and reliable way to check
for the BROADCAST flag on an interface, it's possible that a version of
the test could be moved to `test/sequential` or `test/parallel` once it
was modified to only use internal networks.
PR-URL: https://github.com/nodejs/node/pull/6750
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-16 14:52:08 -07:00
Rich Trott
5f31b7e014
doc: add added info for dgram.setBroadcast()
...
Since I was doing the necessary git spelunking anyway, I took the time
to add the YAML information into the docs about when `setBroadcast()`
first appeared in its current form.
PR-URL: https://github.com/nodejs/node/pull/6750
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-16 14:50:45 -07:00
Rich Trott
5a5b74aad6
test: move test-debugger-debug-brk to sequential
...
Move test from `test/debugger` to `test/sequential` so that it is
exercised by CI and `make test`.
PR-URL: https://github.com/nodejs/node/pull/6731
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-16 13:38:31 -07:00
James M Snell
477d35848c
doc: improve zlib docs
...
General improvements to zlib doc copy
PR-URL: https://github.com/nodejs/node/pull/6746
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-16 09:29:58 -07:00
Arve Seljebu
1ba5a56f49
doc: readline.emitKeypressEvents and raw mode
...
`readline.emitKeypressEvents` needs `stream` to be in raw mode.
PR-URL: https://github.com/nodejs/node/pull/6628
Fixes: https://github.com/nodejs/node/issues/6626
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-05-16 16:01:57 +02:00
Rumkin
9c33e0ebe7
util: fix invalid date output with util.inspect
...
Prevent util.inspect of throwing on date object with invalid date value.
It changed to output result of toString method call.
PR-URL: https://github.com/nodejs/node/pull/6504
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-16 11:17:25 +02:00
Ben Noordhuis
f17b9494e1
doc: update vm.runInDebugContext() example
...
The debugger needs to be active now before one is allowed to query the
list of scripts. Replace the example with one that works without
installing a debug event listener first.
Fixes: https://github.com/nodejs/node/issues/4862
PR-URL: https://github.com/nodejs/node/pull/6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-05-16 08:09:36 +02:00
Rich Trott
eb089e7ccd
doc: add added: info for string_decoder
...
PR-URL: https://github.com/nodejs/node/pull/6741
Ref: https://github.com/nodejs/node/issues/6578
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-05-15 22:56:51 -07:00
Rich Trott
d73e189c26
tools,test: make argument linting more stringent
...
The custom linting rule for argument alignment in multi-line function
calls previously ignored template strings in an effort to avoid false
positives. This isn't really necessary. Enforce for template strings and
adjust whitespace in three tests to abide. (Insert "The test abides"
joke of your choosing here.)
PR-URL: https://github.com/nodejs/node/pull/6720
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-15 18:22:50 -07:00
Rich Trott
9bc72ea0de
test: refactor doctool tests
...
Adjust style in doctool tests to conform with predominant style of the
rest of the project. The biggest changes are:
* Replace string concatenation with `path.join()`
* Remove unnecessary quotes from property names
PR-URL: https://github.com/nodejs/node/pull/6719
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-15 18:11:43 -07:00
DavidCai
32b46d91a7
doc: update fs callback example error stack
...
Update the error stack printed in the default callback
example in the fs doc, matching the latest lib/fs.js.
Truncates the stack to make it easier to update in the future.
PR-URL: https://github.com/nodejs/node/pull/6617
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-15 15:01:49 +01:00