mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 16:13:06 +00:00
refactor: update dependencies
This commit is contained in:
committed by
Jovan Krunić
parent
cb43171640
commit
fe90cd098a
@@ -348,7 +348,7 @@ async function deleteFileIfExistingAndPacked(path: string): Promise<void> {
|
||||
return unlinkPromisified(path);
|
||||
}
|
||||
} catch (error) {
|
||||
if (error.code === 'ENOENT') {
|
||||
if ((error as NodeJS.ErrnoException).code === 'ENOENT') {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,6 @@ export class Converter {
|
||||
|
||||
if (isSchemaWithDefinitions(schema)) {
|
||||
const selfReference = {
|
||||
...{},
|
||||
...schema,
|
||||
};
|
||||
|
||||
@@ -96,7 +95,6 @@ export class Converter {
|
||||
|
||||
// add self reference to definitions
|
||||
schema.definitions![`SC${type}`] = {
|
||||
...{},
|
||||
...(selfReference as unknown as Definition),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user