feat(ci): Set up GitHub Actions workflows for CI/CD
This commit is contained in:
@@ -10,11 +10,11 @@ export class HttpStatus {
|
||||
try {
|
||||
statusInstance = new HttpStatus.statusMap[codeStringArg]();
|
||||
} catch {
|
||||
console.log('unknown status')
|
||||
console.log('unknown status');
|
||||
return new HttpStatus({
|
||||
code: 0,
|
||||
text: 'unknown status',
|
||||
description: `The status ${codeStringArg} is not known.`
|
||||
description: `The status ${codeStringArg} is not known.`,
|
||||
});
|
||||
}
|
||||
return statusInstance;
|
||||
@@ -28,9 +28,3 @@ export class HttpStatus {
|
||||
this.description = optionsArg.description;
|
||||
}
|
||||
}
|
||||
|
||||
export * from './smartstatus.classes.http.1xx';
|
||||
export * from './smartstatus.classes.http.2xx';
|
||||
export * from './smartstatus.classes.http.3xx';
|
||||
export * from './smartstatus.classes.http.4xx';
|
||||
export * from './smartstatus.classes.http.5xx';
|
||||
|
||||
Reference in New Issue
Block a user