Kaynağa Gözat

Can not use path.parse in version node 0.10

pull/717/head
Justin Staubach 6 yıl önce
ebeveyn
işleme
51bd7fd494
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      bin/mustache

+ 1
- 1
bin/mustache Dosyayı Görüntüle

@@ -131,7 +131,7 @@ function isStdin (view) {
}

function isJson (view) {
return path.parse(view).ext === '.js';
return path.extname(view) === '.js';
}

function wasNotFound (err) {


Yükleniyor…
İptal
Kaydet