diff --git a/ESLint-Formatter.py b/ESLint-Formatter.py index 35f0eb1..522341f 100644 --- a/ESLint-Formatter.py +++ b/ESLint-Formatter.py @@ -4,6 +4,7 @@ import sublime, sublime_plugin import platform +import glob import os, sys, subprocess, codecs, webbrowser from subprocess import Popen, PIPE @@ -168,7 +169,7 @@ def findup(pattern, dirname=None): normdn = PluginUtils.normalize_path(dirname) for d in PluginUtils.walk_up(normdn): - matches = globmodule.glob(os.path.join(d, pattern)) + matches = glob.glob(os.path.join(d, pattern)) if matches: return matches[0] diff --git a/messages.json b/messages.json index 5115065..494fdd5 100644 --- a/messages.json +++ b/messages.json @@ -3,5 +3,6 @@ "1.0.1": "messages/1.0.1.txt", "2.0.0": "messages/2.0.0.txt", "2.0.1": "messages/2.0.1.txt", - "2.1.0": "messages/2.1.0.txt" + "2.1.0": "messages/2.1.0.txt", + "2.1.1": "messages/2.1.1.txt" } diff --git a/messages/2.1.1.txt b/messages/2.1.1.txt new file mode 100644 index 0000000..d4a1dbc --- /dev/null +++ b/messages/2.1.1.txt @@ -0,0 +1,3 @@ +ESLint-Formatter 2.1.1 changelog + +[Fix] Fixing broken reference to glob