Selaa lähdekoodia

Change function call to isJsFile as well

pull/717/head
Justin GitHub 6 vuotta sitten
vanhempi
commit
58960ed562
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      bin/mustache

+ 1
- 1
bin/mustache Näytä tiedosto

@@ -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…
Peruuta
Tallenna