styczynski / atom-terminal-panel

Advanced terminal interface for Atom editor
https://atom.io/packages/atom-terminal-panel
MIT License
98 stars 37 forks source link

path.extname is deprecated. #904

Open XaydBayeck opened 5 years ago

XaydBayeck commented 5 years ago

Argument to path.extname must be a string

path.extname (C:\Users\Administrator\AppData\Local\atom\app-1.37.0\resources\app.asar\src\electron-shims.js:20:10)
ATPOutputView.getCwd (C:\Users\Administrator\.atom\packages\atom-terminal-panel\lib\atp-view.coffee:1874:17)
BuiltinVariables.parseFull (C:\Users\Administrator\.atom\packages\atom-terminal-panel\lib\atp-builtins-variables.coffee:188:77)
BuiltinVariables.parseHtml (C:\Users\Administrator\.atom\packages\atom-terminal-panel\lib\atp-builtins-variables.coffee:111:16)
ATPOutputView.parseTemplate (C:\Users\Administrator\.atom\packages\atom-terminal-panel\lib\atp-view.coffee:664:36)
ATPPanel.updateStatusBar (C:\Users\Administrator\.atom\packages\atom-terminal-panel\lib\atp-panel.coffee:190:50)
XaydBayeck commented 5 years ago

The function was working good,but the yellow warning makes me very uncomfortable.