mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
commit
7579bb21c0
3 changed files with 3 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,7 +3,6 @@ sinopia-*.tgz
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
###
|
###
|
||||||
bin/**
|
|
||||||
!bin/sinopia
|
!bin/sinopia
|
||||||
test-storage*
|
test-storage*
|
||||||
|
|
||||||
|
|
3
bin/verdaccio
Normal file
3
bin/verdaccio
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
require('../lib/cli')
|
|
@ -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 a new issue