Skip to content

path: reduce type checking on some methods

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/1215 into v1.x

a4658403 added strict type checking for the methods in the path module. However, dirname(), basename(), and extname() actually had some undocumented uses in the wild. This commit loosens the type checking on those methods. Fixes #1215 (closed).

R=@rvagg

Merge request reports

Loading