Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 311 Bytes

File metadata and controls

15 lines (12 loc) · 311 Bytes

Fix: error on directories and files with numeric names (#9298 by @fisker)

$ cat 1/index.js
hello('world')

// Prettier stable
$ prettier 1
[error] The "path" argument must be of type string. Received type number (1)

// Prettier master
$ prettier 1
hello("world");