ソースを参照

Change function call to isJsFile as well

pull/717/head
Justin GitHub 6年前
コミット
58960ed562
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      bin/mustache

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


読み込み中…
キャンセル
保存