@@ -56,6 +56,7 @@ The following parameters are available in the `concat` defined type:
5656* [ ` show_diff ` ] ( #-concat--show_diff )
5757* [ ` validate_cmd ` ] ( #-concat--validate_cmd )
5858* [ ` warn ` ] ( #-concat--warn )
59+ * [ ` create_empty_file ` ] ( #-concat--create_empty_file )
5960
6061##### <a name =" -concat--backup " ></a >` backup `
6162
@@ -222,6 +223,14 @@ it explicitly if you need it.
222223
223224Default value: ` false `
224225
226+ ##### <a name =" -concat--create_empty_file " ></a >` create_empty_file `
227+
228+ Data type: ` Boolean `
229+
230+ Specifies whether to create an empty file if no fragments are defined. Defaults to true.
231+
232+ Default value: ` true `
233+
225234### <a name =" concat--fragment " ></a >` concat::fragment `
226235
227236Manages a fragment of text to be compiled into a file.
@@ -237,7 +246,7 @@ The following parameters are available in the `concat::fragment` defined type:
237246
238247##### <a name =" -concat--fragment--content " ></a >` content `
239248
240- Data type: ` Optional[Any ] `
249+ Data type: ` Optional[Variant[String, Deferred] ] `
241250
242251Supplies the content of the fragment. Note: You must supply either a content parameter or a source parameter.
243252Allows a String or a Deferred function which returns a String.
@@ -310,6 +319,7 @@ Default value: `present`
310319The following parameters are available in the ` concat_file ` type.
311320
312321* [ ` backup ` ] ( #-concat_file--backup )
322+ * [ ` create_empty_file ` ] ( #-concat_file--create_empty_file )
313323* [ ` ensure_newline ` ] ( #-concat_file--ensure_newline )
314324* [ ` force ` ] ( #-concat_file--force )
315325* [ ` format ` ] ( #-concat_file--format )
@@ -336,6 +346,14 @@ resource for execution. Valid options: true, false, or a string representing eit
336346extension
337347beginning with ".".'
338348
349+ ##### <a name =" -concat_file--create_empty_file " ></a >` create_empty_file `
350+
351+ Valid values: ` true ` , ` false ` , ` yes ` , ` no `
352+
353+ Specifies whether to create an empty file if no fragments are defined.
354+
355+ Default value: ` true `
356+
339357##### <a name =" -concat_file--ensure_newline " ></a >` ensure_newline `
340358
341359Valid values: ` true ` , ` false ` , ` yes ` , ` no `
0 commit comments