mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +12937 from c9/refactor-clone-api
Refactor clone api
This commit is contained in:
commit
becbee0f2b
7
node_modules/c9/is-notfound.js
generated
vendored
Normal file
7
node_modules/c9/is-notfound.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
|
||||
module.exports = function isNotFound(err) {
|
||||
if (err && err.code === 404) return true;
|
||||
return false;
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user