This repository was archived by the owner on Aug 11, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ var client = common.freshClient()
16
16
tap . test ( "publish again" , function ( t ) {
17
17
// not really a tarball, but doesn't matter
18
18
var bodyPath = require . resolve ( "../package.json" )
19
- var tarball = fs . createReadStream ( bodyPath , "base64" )
19
+ var tarball = fs . createReadStream ( bodyPath )
20
20
var pd = fs . readFileSync ( bodyPath , "base64" )
21
21
var pkg = require ( "../package.json" )
22
22
var lastTime = null
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ var client = common.freshClient()
16
16
tap . test ( "publish again" , function ( t ) {
17
17
// not really a tarball, but doesn't matter
18
18
var bodyPath = require . resolve ( "../package.json" )
19
- var tarball = fs . createReadStream ( bodyPath , "base64" )
19
+ var tarball = fs . createReadStream ( bodyPath )
20
20
var pd = fs . readFileSync ( bodyPath , "base64" )
21
21
var pkg = require ( "../package.json" )
22
22
var lastTime = null
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ var METADATA = require("../package.json")
15
15
var ACCESS = "public"
16
16
// not really a tarball, but doesn't matter
17
17
var BODY_PATH = require . resolve ( "../package.json" )
18
- var BODY = createReadStream ( BODY_PATH , "base64" )
18
+ var BODY = createReadStream ( BODY_PATH )
19
19
var AUTH = {
20
20
username : USERNAME ,
21
21
password : PASSWORD ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var client = common.freshClient()
12
12
tap . test ( "publish" , function ( t ) {
13
13
// not really a tarball, but doesn't matter
14
14
var bodyPath = require . resolve ( "../package.json" )
15
- var tarball = fs . createReadStream ( bodyPath , "base64" )
15
+ var tarball = fs . createReadStream ( bodyPath )
16
16
var pd = fs . readFileSync ( bodyPath , "base64" )
17
17
var pkg = require ( "../package.json" )
18
18
pkg . name = "@npm/npm-registry-client"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ var _auth = new Buffer("username:%1234@asdf%").toString("base64")
18
18
tap . test ( "publish" , function ( t ) {
19
19
// not really a tarball, but doesn't matter
20
20
var bodyPath = require . resolve ( "../package.json" )
21
- var tarball = fs . createReadStream ( bodyPath , "base64" )
21
+ var tarball = fs . createReadStream ( bodyPath )
22
22
var pd = fs . readFileSync ( bodyPath , "base64" )
23
23
var pkg = require ( "../package.json" )
24
24
pkg . name = "@npm/npm-registry-client"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ var METADATA = require("../package.json")
16
16
var ACCESS = "public"
17
17
// not really a tarball, but doesn't matter
18
18
var BODY_PATH = require . resolve ( "../package.json" )
19
- var BODY = fs . createReadStream ( BODY_PATH , "base64" )
19
+ var BODY = fs . createReadStream ( BODY_PATH )
20
20
var AUTH = {
21
21
username : USERNAME ,
22
22
password : PASSWORD ,
You can’t perform that action at this time.
0 commit comments