akalongman / akalongman/sublimetext-codeformatter

Getting `TypeError: argument of type 'NoneType' is not iterable`

オープン
#243 コメント 5 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
772
フォーク
128
PR マージ指標
30日以内にマージされた PR はありません

説明

Just installed this plugin and got this when tried to format `.js` file:

```
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 618, in run_
return self.run(edit)
File "/Users/Admin/Library/Application Support/Sublime Text 3/Packages/CodeFormatter/CodeFormatter.py", line 79, in run
formatter = Formatter(self.view, file_name, syntax, saving)
File "/Users/Admin/Library/Application Support/Sublime Text 3/Packages/CodeFormatter/codeformatter/formatter.py", line 59, in __init__
if ("syntaxes" in opts and opts["syntaxes"]):
TypeError: argument of type 'NoneType' is not iterable
```

OS X, Sublime Text 3117

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。