From 9af0085f700294b3535fe9d324e3cdf71b071d03 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 13 Mar 2013 18:27:09 +0100 Subject: [PATCH] doc: path.join() arguments must be strings In v0.8, non-string arguments were ignored. v0.10 throws an exception. --- doc/api/path.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 2541c62d82..df2e46005e 100644 --- a/doc/api/path.markdown +++ b/doc/api/path.markdown @@ -25,7 +25,9 @@ Example: ## path.join([path1], [path2], [...]) 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: