Skip to content

Commit 7d9ec58

Browse files
Merge pull request #323 from dixyushi/update-doc-changeWorkspace
updated changeWorkspace content
2 parents 06d9e11 + 6e9d0cd commit 7d9ec58

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

documentation/Functions.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,20 @@ Learn more about the workspace directory and working directory on [Structure](ht
125125
***
126126
127127
### changeWorkspace <a name="changeWorkspace"></a>
128+
This function is used to change the workspace of the current tutorial.
128129
#### parameter
129-
1. path to a new workspace (relative to working directory)
130+
This function has only one parameter
131+
1. First parameter:
132+
- **Required**
133+
- **Type**- String
134+
- **Description**- path to a new workspace (relative to working directory)
130135
#### example
131136
changeWorkspace("devonfw/workspaces/project")
132137
will set the workspace directory to "[working directory]/devonfw/workspaces/project"
133138

134-
Learn more about the workspace directory and working directory on [Structure](https://github.com/devonfw-tutorials/tutorial-compiler/wiki/Structure)
139+
Learn more about the workspace directory and working directory on [Structure](https://github.com/devonfw-tutorials/tutorial-compiler/wiki/Structure).
140+
141+
Note: No background scripts are running and Katacoda user don't have to manually execute them.
135142

136143
***
137144

0 commit comments

Comments
 (0)