path.dirName -> path.dirname
:lipstick: