mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 08:36:45 +00:00
Update packages/k8s/src/k8s/utils.ts
This commit is contained in:
@@ -49,7 +49,7 @@ export function containerVolumes(
|
||||
if (path.isAbsolute(userVolume.sourceVolumePath)) {
|
||||
if (!userVolume.sourceVolumePath.startsWith(workspacePath)) {
|
||||
throw new Error(
|
||||
'absolute path volume mounts outside of the work folder are not supported'
|
||||
'Volume mounts outside of the work folder are not supported'
|
||||
)
|
||||
}
|
||||
sourceVolumePath = userVolume.sourceVolumePath
|
||||
|
||||
Reference in New Issue
Block a user