Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52504

When in module directory, default grunt task runs jshint on all javascript modules

XMLWordPrintable

    • MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • master
    • Hide
      1. Modify 2 amd source files in 2 different directories
      2. Modify 1 yui source file
      3. cd to one of the amd directories
      4. run grunt
      5. Make sure only that amd file is recompiled and the others are not
      6. Run grunt in the root directory
      7. Make sure both the yui file and the grunt file are compiled
      Show
      Modify 2 amd source files in 2 different directories Modify 1 yui source file cd to one of the amd directories run grunt Make sure only that amd file is recompiled and the others are not Run grunt in the root directory Make sure both the yui file and the grunt file are compiled

      Running grunt from within a module's amd subdirectory causes the jshint task to be executed on all javascript modules, instead of just the one(s) in the current directory.

      If you're in a module's amd subdirectory, I would expect it to run jshint on everything in that directory, and nothing else.

            janeklb Janek L.B.
            janeklb Janek L.B.
            John Okely John Okely
            Andrew Lyons Andrew Lyons
            cameron1729 cameron1729
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.