npm-update-package 0.43.0 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isNotFoundError = void 0;
|
|
4
4
|
const request_error_1 = require("@octokit/request-error");
|
|
5
5
|
const http_status_codes_1 = require("http-status-codes");
|
|
6
|
-
// TODO: Add test
|
|
7
6
|
const isNotFoundError = (value) => {
|
|
8
7
|
return value instanceof request_error_1.RequestError && value.status === http_status_codes_1.StatusCodes.NOT_FOUND;
|
|
9
8
|
};
|