Renamed error var
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fd67a85fe8
commit
55d047c0dd
|
@ -77,8 +77,8 @@ module.exports = Self => {
|
|||
|
||||
if (filePath && fs.existsSync(filePath))
|
||||
await fs.unlink(filePath);
|
||||
} catch (error) {
|
||||
throw new Error('ErrorHandler error: ', error);
|
||||
} catch (err) {
|
||||
throw new Error('ErrorHandler error: ', err);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue