mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 01:16:29 +02:00
Piston lint
This commit is contained in:
parent
d61fb8ec5b
commit
f2c91acbe6
57 changed files with 1121 additions and 893 deletions
api/src
|
@ -74,9 +74,8 @@ class Package {
|
|||
await new Promise((resolve, reject) => {
|
||||
read_stream.on('data', chunk => hash.update(chunk));
|
||||
read_stream.on('end', () => resolve());
|
||||
read_stream.on('error', error => reject(error))
|
||||
read_stream.on('error', error => reject(error));
|
||||
});
|
||||
|
||||
|
||||
const cs = hash.digest('hex');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue