Update packages/k8s/src/k8s/utils.ts

This commit is contained in:
Thomas Boop
2022-06-08 09:41:38 -04:00
committed by GitHub
parent 84a57de2e3
commit f764d18c4c

View File

@@ -52,7 +52,7 @@ export function containerVolumes(
'Volume mounts outside of the work folder are not supported' 'Volume mounts outside of the work folder are not supported'
) )
} }
// sourcec volume path should be relative path // source volume path should be relative path
sourceVolumePath = userVolume.sourceVolumePath.slice( sourceVolumePath = userVolume.sourceVolumePath.slice(
workspacePath.length + 1 workspacePath.length + 1
) )