Skip to content

Commit

Permalink
release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fcannizzaro committed Nov 8, 2018
2 parents 957a406 + b59f68a commit 81d9ede
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions npm-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import sys
import threading
import webbrowser
from os import listdir

import sublime
import sublime_plugin
Expand Down Expand Up @@ -44,7 +43,7 @@ def init_core_modules():


def is_valid(view):
return view.file_name() and view.file_name().endswith(('.js', '.jsx'))
return view.file_name() and view.file_name().endswith('.js')


# noinspection PyBroadException
Expand Down

0 comments on commit 81d9ede

Please sign in to comment.