Explorar el Código

Change function call to isJsFile as well

pull/717/head
Justin GitHub hace 6 años
padre
commit
58960ed562
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bin/mustache

+ 1
- 1
bin/mustache Ver fichero

@@ -54,7 +54,7 @@ function run (/*args*/) {

function readView (cb) {
var view;
if (isJson(viewArg)) {
if (isJsFile(viewArg)) {
view = require(path.join(process.cwd(),viewArg));
cb(view);
} else {


Cargando…
Cancelar
Guardar