Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for an error in windows. #7

Merged
merged 1 commit into from

2 participants

@niyazpk

This fixes the following error in windows:

    $ grunt jsdoc
    Running "jsdoc:dist" (jsdoc) task
    >> jsdoc error: Error: Command failed: 'node_modules' is not recognized as an internal or external command,
    >> operable program or batch file.
    Warning: jsdoc failure Use --force to continue.

    Aborted due to warnings.

Once this is merged, the plugin should be fully compatible with windows.

@niyazpk niyazpk Fix for an error in windows.
This fixes the following error in windows:

    $ grunt jsdoc
    Running "jsdoc:dist" (jsdoc) task
    >> jsdoc error: Error: Command failed: 'node_modules' is not recognized as an internal or external command,
    >> operable program or batch file.
    Warning: jsdoc failure Use --force to continue.

    Aborted due to warnings.
ffac137
@krampstudio krampstudio merged commit 6841072 into krampstudio:master
@krampstudio
Owner

Will do some tests before publishing to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 24, 2012
  1. @niyazpk

    Fix for an error in windows.

    niyazpk authored
    This fixes the following error in windows:
    
        $ grunt jsdoc
        Running "jsdoc:dist" (jsdoc) task
        >> jsdoc error: Error: Command failed: 'node_modules' is not recognized as an internal or external command,
        >> operable program or batch file.
        Warning: jsdoc failure Use --force to continue.
    
        Aborted due to warnings.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  tasks/jsdoc-plugin.js
View
2  tasks/jsdoc-plugin.js
@@ -46,7 +46,7 @@ module.exports = function jsDocTask(grunt) {
* @return {String} command the command ready to be executed
*/
var buildCmd = function(bin, sources, destination){
- var cmd = bin + ' -d ' + destination +' ' + sources.join(' ');
+ var cmd = '"' + bin + '"' + ' -d ' + destination +' ' + sources.join(' ');
grunt.log.debug(cmd);
return cmd;
};
Something went wrong with that request. Please try again.