File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Check with yarn
2
+ on : [push, pull_request ]
3
+ jobs :
4
+ build :
5
+ name : Install and test with yarn
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v2
9
+ - uses : actions/setup-node@v2
10
+ - run : yarn install
11
+ - run : yarn test
Original file line number Diff line number Diff line change 2
2
3
3
var fs = require ( 'fs' )
4
4
var qs = require ( 'querystring' )
5
- var validate = require ( 'har-validator' )
6
5
var extend = require ( 'extend' )
7
6
8
7
function Har ( request ) {
@@ -132,10 +131,6 @@ Har.prototype.options = function (options) {
132
131
har . headersSize = 0
133
132
har . postData . size = 0
134
133
135
- if ( ! validate . request ( har ) ) {
136
- return options
137
- }
138
-
139
134
// clean up and get some utility properties
140
135
var req = this . prep ( har )
141
136
Original file line number Diff line number Diff line change 34
34
"extend" : " ~3.0.2" ,
35
35
"forever-agent" : " ~0.6.1" ,
36
36
"form-data" : " ~2.3.2" ,
37
- "har-validator" : " ~5.1.3" ,
38
37
"http-signature" : " ~1.3.6" ,
39
38
"is-typedarray" : " ~1.0.0" ,
40
39
"isstream" : " ~0.1.2" ,
You can’t perform that action at this time.
0 commit comments