commands/create.js
function(callback) {
      if (Object.keys(templateDependencies).indexOf(args['<template>']) === -1) {
        return callback(new Error(format('Unknown template "%s". Run '
          + '`mj help create` for list of valid templates.', args['<template>'])));
      }
      return callback(null);
    }
function(callback) {
      if (Object.keys(templateDependencies).indexOf(args['<template>']) === -1) {
        return callback(new Error(format('Unknown template "%s". Run '
          + '`mj help create` for list of valid templates.', args['<template>'])));
      }
      return callback(null);
    }
function ( callback ) { if ( Object . keys ( templateDependencies ) . indexOf ( args [ '<template>' ] ) === - 1 ) { return callback ( new Error ( format ( 'Unknown template "%s". Run ' + '`mj help create` for list of valid templates.' , args [ '<template>' ] ) ) ) ; } return callback ( null ) ; }
make sure the template exists.
make sure the template exists .