瀏覽代碼
Change function call to isJsFile as well
pull/717/head
Justin
GitHub
6 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
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 { |
|
|
|
|