Skip to content

Commit

Permalink
Merge pull request #18 from hckrnews/feature/type-async-function
Browse files Browse the repository at this point in the history
Fix lint issues
  • Loading branch information
w3nl authored Dec 14, 2021
2 parents e1ddeba + 1124f02 commit efdac24
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hckrnews/error",
"description": "Extended Errors",
"version": "0.3.4",
"version": "0.3.5",
"author": {
"name": "Pieter Wigboldus",
"url": "https://hckr.news/"
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/no-content-error.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NoContentError } from '../index.js';

describe('No Content Error test', () => {
it('It should create a no content error', () => {
const fetch = async () => ({})
const fetch = async () => ({});
const error = new NoContentError({
value: 'test',
type: fetch,
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export default {
message: String,
'value?': 'mixed',
status: Number,
'type?': "function|async",
'type?': 'function|async',
date: Date,
};

0 comments on commit efdac24

Please sign in to comment.