Skip to content

Commit

Permalink
Fixing reference to broken glob. Closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
elicwhite committed Jul 15, 2016
1 parent 666b6f2 commit 0aa9f20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ESLint-Formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import sublime, sublime_plugin
import platform
import glob
import os, sys, subprocess, codecs, webbrowser
from subprocess import Popen, PIPE

Expand Down Expand Up @@ -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]

Expand Down
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
3 changes: 3 additions & 0 deletions messages/2.1.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ESLint-Formatter 2.1.1 changelog

[Fix] Fixing broken reference to glob

0 comments on commit 0aa9f20

Please sign in to comment.