Browse Source

doc: path.join() arguments must be strings

In v0.8, non-string arguments were ignored. v0.10 throws an exception.
v0.10.1-release
Ben Noordhuis 12 years ago
parent
commit
9af0085f70
  1. 4
      doc/api/path.markdown

4
doc/api/path.markdown

@ -25,7 +25,9 @@ Example:
## path.join([path1], [path2], [...]) ## path.join([path1], [path2], [...])
Join all arguments together and normalize the resulting path. Join all arguments together and normalize the resulting path.
Non-string arguments are ignored.
Arguments must be strings. In v0.8, non-string arguments were
silently ignored. In v0.10 and up, an exception is thrown.
Example: Example:

Loading…
Cancel
Save