Skip to content

Commit a047f34

Browse files
Added documentation and fixed a wrong semicolon
1 parent 9741c0b commit a047f34

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

documentation/Functions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The following functions are already implemented:
66
* createDevon4jProject
77
* buildJava
88
* createFile
9+
* dockerCompose
910

1011
***
1112

@@ -96,3 +97,11 @@ A placeholder is optional. If you do not define a placeholder, the content in th
9697
Please try not to use custom placeholders. Keep in mind that you might want to build the project before changing them. Custom placeholders with a comment-syntax (e.g. "//PLACEHOLDER") will be removed by the console-environment and others might cause errors.
9798

9899
***
100+
101+
### dockerCompose
102+
#### parameter
103+
1. Path to the Dockerfile
104+
#### example
105+
dockerCompose("exampleproject")
106+
107+
***

runners/katacoda/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class Katacoda extends Runner {
217217
"text": "step" +this.stepsCount + ".md"
218218
});
219219

220-
this.renderTemplate("dockerCompose.md", this.outputPathTutorial + "step" + (this.stepsCount++) + ".md", { text: step.text, textAfter: step.textAfter, cdCommand: cdCommand, filePath: command.parameters[0].replace(/\\/g, "/"); })
220+
this.renderTemplate("dockerCompose.md", this.outputPathTutorial + "step" + (this.stepsCount++) + ".md", { text: step.text, textAfter: step.textAfter, cdCommand: cdCommand, filePath: command.parameters[0].replace(/\\/g, "/") });
221221
return null;
222222
}
223223

0 commit comments

Comments
 (0)