Skip to content

Commit a9013b2

Browse files
committed
fix: function
1 parent 7648ef9 commit a9013b2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/components/Package/InstallScripts.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ const props = defineProps<{
1515
function getCodeLink(filePath: string): RouteLocationRaw {
1616
const split = props.packageName.split('/')
1717
18-
console.log({ split })
1918
return {
2019
name: 'code',
2120
params: {
2221
org: split.length === 2 ? split[0] : null,
2322
packageName: split.length === 2 ? split[1]! : split[0]!,
2423
version: props.version,
25-
filePath: '',
24+
filePath: filePath,
2625
},
2726
}
2827
}

0 commit comments

Comments
 (0)