graphman65 / linter-vhdl

Atom vhdl linter
https://atom.io/packages/linter-vhdl
MIT License
6 stars 2 forks source link

path.dirname is deprecated. #14

Open eduxsan opened 4 years ago

eduxsan commented 4 years ago

Argument to path.dirname must be a string

path.dirname (C:\Users\josee\AppData\Local\atom\app-1.45.0\resources\app.asar\src\electron-shims.js:9:10)
Object.<anonymous> (C:\Users\josee\.atom\packages\linter-vhdl\lib\main.js:56:48)
Generator.next (null:null:null)
step (C:\Users\josee\.atom\packages\linter-vhdl\lib\main.js:7:273)
<unknown> (C:\Users\josee\.atom\packages\linter-vhdl\lib\main.js:7:443)
Promise (null:null:null)
graphman65 commented 4 years ago

Hi, I cannot reproduce this issue, path.dirname argument is textEditor.getPath() and according to the atom api doc (https://flight-manual.atom.io/api/v1.8.0/TextEditor/#instance-getPath), this function should always return a string.

Let me know if you find more info on this.