Skip to content

Commit 237edf4

Browse files
author
Thomas G.
committed
fix: 🐛 stubs handling
1 parent 31a0280 commit 237edf4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/common-utils/_install-feature.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ zz_log i "Installing feature {Purple $feature}..."
1818
# Copy stubs to the target directory
1919
if [ -d $source/stubs ]; then
2020
zz_log i "Copying stubs to {U $target}..."
21-
mkdir -p $target/stubs && cp -r $source/stubs/* $target/stubs
21+
cp -a $source/stubs $target
2222
else
2323
zz_log w "No stubs found in {U $source}"
2424
fi

src/common-utils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "common-utils",
33
"name": "Common Utils",
44
"description": "Common utils for tomgrv/devcontainer-features",
5-
"version": "3.15.0",
5+
"version": "3.15.1",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/common-utils": {}
88
},

src/gitutils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "gitutils",
33
"name": "Git Aliases",
44
"description": "A feature to add useful Git aliases to your shell.",
5-
"version": "5.13.6",
5+
"version": "5.13.7",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/node:1": "lts",
88
"ghcr.io/tomgrv/devcontainer-features/common-utils:3": {

src/gitutils/stubs/.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
"label": "⏫ Push force",
1818
"type": "shell",
19-
"command": "git push --force",
19+
"command": "git pf",
2020
"problemMatcher": []
2121
}
2222
]

0 commit comments

Comments
 (0)