creates a not-found util

pull/284/head
Matthijs van Henten 2016-03-21 14:49:41 +00:00
rodzic 4c32d3334f
commit 28d1868d38
1 zmienionych plików z 7 dodań i 0 usunięć

7
node_modules/c9/is-notfound.js wygenerowano vendored 100644
Wyświetl plik

@ -0,0 +1,7 @@
"use strict";
module.exports = function isNotFound(err) {
if (err && err.code === 404) return true;
return false;
};