Sfoglia il codice sorgente

Change function call to isJsFile as well

pull/717/head
Justin GitHub 6 anni fa
parent
commit
58960ed562
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bin/mustache

+ 1
- 1
bin/mustache Vedi File

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


Loading…
Annulla
Salva