Ver código fonte

Change function call to isJsFile as well

pull/717/head
Justin GitHub 6 anos atrás
pai
commit
58960ed562
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      bin/mustache

+ 1
- 1
bin/mustache Ver arquivo

@@ -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 {


Carregando…
Cancelar
Salvar