file-templates
file-templates copied to clipboard
Uncaught TypeError: string.indexOf is not a function
[Enter steps to reproduce:]
- Right click and select "create files from template"
- Error pops up
Atom: 1.34.0 x64 Electron: 2.0.16 OS: Ubuntu 18.04.1 Thrown From: file-templates package 0.2.0
Stack Trace
Uncaught TypeError: string.indexOf is not a function
At /home/tianxing/.atom/packages/file-templates/node_modules/fuzzaldrin/lib/scorer.js:60
TypeError: string.indexOf is not a function
at Object.exports.score (/packages/file-templates/node_modules/fuzzaldrin/lib/scorer.js:60:31)
at module.exports (/packages/file-templates/node_modules/fuzzaldrin/lib/filter.js:25:24)
at filter (/packages/file-templates/node_modules/fuzzaldrin/lib/fuzzaldrin.js:21:14)
at MySelectListView.module.exports.SelectListView.populateList (/packages/open-in-browsers/node_modules/atom-space-pen-views/lib/select-list-view.js:195:25)
at /packages/open-in-browsers/node_modules/atom-space-pen-views/lib/select-list-view.js:350:26
Commands
-1:02.2.0 atom-smart-template:open-temlates-folder (ul.list-inline.tab-bar.inset-panel)
-0:59.5.0 core:save (ul.list-inline.tab-bar.inset-panel)
-0:50.6.0 atom-smart-template:open-temlates-folder (ul.list-inline.tab-bar.inset-panel)
-0:46.1.0 atom-smart-template:open-temlates-folder-in-atom (ul.list-inline.tab-bar.inset-panel)
-0:24.7.0 atom-smart-template:create-files-from-template (span.name.icon.icon-file-directory)
Non-Core Packages
atom-smart-template 0.3.2
autoclose-html 0.23.0
file-templates 0.2.0
indent-guide-improved 1.4.13
open-in-browsers 0.0.30