From 30fc3ae1997e7d8828f8d2d8013c433f4cef0dda Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Thu, 8 Aug 2024 09:16:03 +0200 Subject: [PATCH] chore: mount the whole lib dir in the devcontainer (#5984) Bind-mount the whole lib directory as /action/lib in the devcontainer so we don't have to manually add lib subdirectories to the devcontainer configuration as we create them. --- .devcontainer/devcontainer.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0e07b828..15b787c5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,13 +24,8 @@ "type": "bind" }, { - "source": "${localWorkspaceFolder}/lib/linter.sh", - "target": "/action/lib/linter.sh", - "type": "bind" - }, - { - "source": "${localWorkspaceFolder}/lib/functions", - "target": "/action/lib/functions", + "source": "${localWorkspaceFolder}/lib", + "target": "/action/lib", "type": "bind" } ],