From 0aa9f204dc7c14adcf43e2386ada5f3d3b93c330 Mon Sep 17 00:00:00 2001 From: Eli White Date: Fri, 15 Jul 2016 15:36:17 -0700 Subject: [PATCH] Fixing reference to broken glob. Closes #15 --- ESLint-Formatter.py | 3 ++- messages.json | 3 ++- messages/2.1.1.txt | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 messages/2.1.1.txt 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