Kaynağa Gözat
Change function call to isJsFile as well
pull/717/head
Justin
GitHub
6 yıl önce
ebeveyn
işleme
58960ed562
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
1 ekleme ve
1 silme
-
bin/mustache
|
|
|
@@ -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 { |
|
|
|
|