Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit c02f198

Browse files
committed
Webterm: Use mount/folder name for package name
1 parent 248b930 commit c02f198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/userland/webterm/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class WebTerm extends LitElement {
173173
for (let command of commands) {
174174
if (!command.name) continue
175175
let commandData = {
176-
package: pkg.url,
176+
package: pkg.path ? pkg.path.split('/').pop() : pkg.url,
177177
name: command.name,
178178
help: command.help,
179179
usage: command.usage,

0 commit comments

Comments
 (0)