TypeError: buffer.string.length.substr is not a function at Object.characterSet [as character set] (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/modules/characterSet.js:4:40) at capture (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/capture.js:153:25) at CleanCss.valueOf (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/cleanCss.js:29:19) at atom-text-editor.module.exports.convert (/Users/blanu/.atom/packages/css-clean/main.js:35:12) at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29) at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61 at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16) at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22) at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36) at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
[Enter steps to reproduce below:]
...
...
Atom Version: 1.10.0
Electron Version: 0.37.8
System: Mac OS X 10.11.6
Thrown From: css-clean package, v2.12.2
Stack Trace
Uncaught TypeError: buffer.string.length.substr is not a function
At /Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/modules/characterSet.js:4
TypeError: buffer.string.length.substr is not a function
at Object.characterSet [as character set] (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/modules/characterSet.js:4:40)
at capture (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/capture.js:153:25)
at CleanCss.valueOf (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/cleanCss.js:29:19)
at atom-text-editor.module.exports.convert (/Users/blanu/.atom/packages/css-clean/main.js:35:12)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
TypeError: buffer.string.length.substr is not a function at Object.characterSet [as character set] (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/modules/characterSet.js:4:40) at capture (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/capture/capture.js:153:25) at CleanCss.valueOf (/Users/blanu/.atom/packages/css-clean/src/css-clean-src/cleanCss.js:29:19) at atom-text-editor.module.exports.convert (/Users/blanu/.atom/packages/css-clean/main.js:35:12) at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29) at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61 at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16) at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22) at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36) at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
[Enter steps to reproduce below:]
Atom Version: 1.10.0 Electron Version: 0.37.8 System: Mac OS X 10.11.6 Thrown From: css-clean package, v2.12.2
Stack Trace
Uncaught TypeError: buffer.string.length.substr is not a function
Commands
Config
Installed Packages