File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,12 @@ build/Release
25
25
# Dependency directory
26
26
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27
27
node_modules
28
+
29
+ # solc-js
30
+ soljson.js
31
+ test_DAO_Token_sol_Token.abi
32
+ test_DAO_Token_sol_Token.bin
33
+ test_DAO_Token_sol_TokenInterface.abi
34
+ test_DAO_Token_sol_TokenInterface.bin
35
+ test_DAO_Token_sol_tokenRecipient.abi
36
+ test_DAO_Token_sol_tokenRecipient.bin
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ branches:
9
9
# Pull request automation is not constrained to this set of branches.
10
10
only :
11
11
- master
12
- script : npm run lint && npm run test
12
+ script : npm test
Original file line number Diff line number Diff line change 9
9
"scripts" : {
10
10
"lint" : " semistandard" ,
11
11
"prepublish" : " ./downloadCurrentVersion.js && ./verifyVersion.js" ,
12
+ "pretest" : " npm run lint" ,
12
13
"test" : " tape ./test/index.js"
13
14
},
14
15
"repository" : {
42
43
"yargs" : " ^4.7.1"
43
44
},
44
45
"devDependencies" : {
45
- "semistandard" : " ^8 .0.0" ,
46
+ "semistandard" : " ^11 .0.0" ,
46
47
"tape" : " ^4.5.1" ,
47
48
"tape-spawn" : " ^1.4.2"
48
49
},
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ function setupMethods (soljson) {
207
207
var url = 'https://ethereum.github.io/solc-bin/bin/soljson-' + versionString + '.js' ;
208
208
https . get ( url , function ( response ) {
209
209
if ( response . statusCode !== 200 ) {
210
- cb ( 'Error retrieving binary: ' + response . statusMessage ) ;
210
+ cb ( new Error ( 'Error retrieving binary: ' + response . statusMessage ) ) ;
211
211
} else {
212
212
response . pipe ( mem ) ;
213
213
response . on ( 'end' , function ( ) {
You can’t perform that action at this time.
0 commit comments