Skip to content

Commit 9860f02

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Liquid Language Support ( Fixes #863 )
1 parent 526ec43 commit 9860f02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Languages/CSharp/CSharp-Template-HelloWorld.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function Template.HelloWorld.cs {
2020
string helloMessage = @"
2121
$($Message.Replace('"','""'))
2222
";
23-
if (args.Length > 0) {
24-
helloMessage = String.Join(" ", args);
23+
if (args != null && args.Length > 0) {
24+
helloMessage = System.String.Join(" ", args);
2525
}
2626
System.Console.WriteLine(helloMessage);
2727
}

0 commit comments

Comments
 (0)