Skip to content

Commit

Permalink
Merge pull request #6 from ianizaguirre/master
Browse files Browse the repository at this point in the history
Add: npm package now works with jsx files
  • Loading branch information
fcannizzaro authored Mar 21, 2018
2 parents 132fc28 + d44cf78 commit b59f68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


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

def exec(args, pn):
if sys.platform != 'win32':
Expand Down

0 comments on commit b59f68a

Please sign in to comment.