mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
Remove sync write file
This commit is contained in:
parent
115a02b0eb
commit
5cdadbd7fa
@ -40,11 +40,6 @@ module.exports = function() {
|
|||||||
.status(200)
|
.status(200)
|
||||||
.then(function (body) {
|
.then(function (body) {
|
||||||
// not real sha due to utf8 conversion
|
// not real sha due to utf8 conversion
|
||||||
require('fs').writeFileSync(
|
|
||||||
'/Users/trent.earl/what.tgz',
|
|
||||||
body
|
|
||||||
);
|
|
||||||
|
|
||||||
assert.strictEqual(sha(body), '6e67b14e2c0e450b942e2bc8086b49e90f594790')
|
assert.strictEqual(sha(body), '6e67b14e2c0e450b942e2bc8086b49e90f594790')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user