Skip to content

Commit 9d3d472

Browse files
committed
cwd is optional, reset unwanted changes
1 parent 7b041ff commit 9d3d472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class Cp {
1616
* @param {string} containerName - The name of the container in the pod to exec the command inside.
1717
* @param {string} srcPath - The source path in the pod
1818
* @param {string} tgtPath - The target path in local
19-
* @param {string} cwd - The directory that is used as the parent in the pod when downloading
19+
* @param {string} [cwd] - The directory that is used as the parent in the pod when downloading
2020
*/
2121
public async cpFromPod(
2222
namespace: string,

0 commit comments

Comments
 (0)