#7 Cannot update to latest jshint (download link returns 404)

v1.0_(example)
closed
nobody
None
5
2013-12-06
2012-11-16
Yop83
No

Bug summary:
When trying to update jshint to latest version, a file is downloaded, but it turns out to be an html of github's 404 error page.

Environment:
Windows 7
Notepad++ v6.2
JsLint plugin v0.8.0.116

Steps to repro:
1. Go to plugins -> jslint -> Settings
2. In JSHint script source section, Pick "Downloaded from GitHub".
3. Click on "Download Latest..."
4. Open the file in %appdata%\Notepad++\plugins\config\JSLint\jshint.[LATEST_DATE].js

Expected results:
5. The file should contain related to jshint.

Actual results:
5. The file contains github's 404 html.

Discussion

  • Martin Vladic
    Martin Vladic
    2012-11-22

    Fixed in 0.8.1

     
  • Martin Vladic
    Martin Vladic
    2012-11-22

    • status: open --> closed
    • milestone: --> v1.0_(example)
     
  • Yop83
    Yop83
    2013-03-12

    This is now re-broken.

    The new link used in the plugin (http://www.jshint.com/src/js/jshint.js) seems to be dead now.

    From the web site, you are offered: http://jshint.com/get/jshint-1.1.0.js
    (but it does contains a version number inside)

    If you need me to open a new ticket, just reply and I'll do it.

     
  • Martin Vladic
    Martin Vladic
    2013-03-14

    • status: closed --> open
     
  • MvGulik
    MvGulik
    2013-11-04

    Aha.
    That kinda explains the "Invalid JSLint script!" error.

    looks at previous post date
    ... Right. Got it. ...

     
  • dgis
    dgis
    2013-12-04

    I get the "Invalid JSLint script!" error too.

    Is there a patch to get it works?

     
  • Martin Vladic
    Martin Vladic
    2013-12-06

    Solved in 0.8.2

     
  • Martin Vladic
    Martin Vladic
    2013-12-06

    • status: open --> closed