Skip to content

Commit d5dd38f

Browse files
committed
update devcontinaer postCreateCommand to update line feed chars in *.sh files
1 parent f97a018 commit d5dd38f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
]
3333
}
3434
},
35-
"postCreateCommand": "bash ./.devcontainer/setup_env.sh",
35+
"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",
3636
"remoteUser": "vscode",
3737
"hostRequirements": {
3838
"memory": "4gb"
3939
}
40-
}
40+
}

0 commit comments

Comments
 (0)