File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ let options = {
9191 deterministicForTests : args . deterministicForTests ,
9292} ;
9393
94- let filePath = args . _ [ 0 ] || "." ;
94+ let filePath = path . resolve ( args . _ [ 0 ] || "." ) ;
9595
9696/**
9797 * Method to start the bom creation process
Original file line number Diff line number Diff line change @@ -188,23 +188,23 @@ test("get py metadata", async () => {
188188 const data = await utils . getPyMetadata ( [
189189 {
190190 group : "" ,
191- name : "Flask " ,
192- version : "1.1.0 " ,
191+ name : "Django " ,
192+ version : "5.0.4 " ,
193193 } ,
194194 false ,
195195 ] ) ;
196196 expect ( data ) . toEqual ( [
197197 {
198198 _integrity :
199- "sha256-a31adc27de06034c657a8dc091cc5fcb0227f2474798409bff0e9674de31a026 " ,
200- description : "A simple framework for building complex web applications ." ,
199+ "sha256-916423499d75d62da7aa038d19aef23d23498d8df229775eb0a6309ee1013775 " ,
200+ description : "A high-level Python web framework that encourages rapid development and clean, pragmatic design ." ,
201201 group : "" ,
202202 homepage : {
203- url : "https://palletsprojects. com/p/flask " ,
203+ url : "https://www.djangoproject. com/" ,
204204 } ,
205205 license : "BSD-3-Clause" ,
206- name : "Flask " ,
207- version : "1.1.0 " ,
206+ name : "Django " ,
207+ version : "5.0.4 " ,
208208 } ,
209209 ] ) ;
210210} ) ;
@@ -457,7 +457,7 @@ test("get repo license", async () => {
457457 "https://github.com/ShiftLeftSecurity/sast-scan"
458458 ) ;
459459 expect ( license ) . toEqual ( {
460- id : "GPL-3.0-or-later " ,
460+ id : "Apache-2.0 " ,
461461 url : "https://github.com/ShiftLeftSecurity/sast-scan/blob/master/LICENSE" ,
462462 } ) ;
463463
You can’t perform that action at this time.
0 commit comments