From d5dd38fefdb67c628486c091f8da68453b0c131c Mon Sep 17 00:00:00 2001 From: DB Lee Date: Tue, 29 Apr 2025 16:54:02 +0000 Subject: [PATCH] update devcontinaer postCreateCommand to update line feed chars in *.sh files --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 457b35fba..0cc98ccfd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -32,9 +32,9 @@ ] } }, - "postCreateCommand": "bash ./.devcontainer/setup_env.sh", + "postCreateCommand": "sed -i 's/\\r$//' ./.devcontainer/setup_env.sh && find ./infra -type f -name \"*.sh\" -exec sed -i 's/\\r$//' {} \\; && bash ./.devcontainer/setup_env.sh", "remoteUser": "vscode", "hostRequirements": { "memory": "4gb" } -} +} \ No newline at end of file