Skip to content

Commit 3798ac2

Browse files
committed
fix: tests for s3 templates
1 parent b4238c0 commit 3798ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-app/src/lib/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function template(lines: Array<string | [string, boolean]>) {
135135
.filter((line) => {
136136
// If it's a [content, condition] pair, check the condition
137137
if (Array.isArray(line)) {
138-
return line[1] != null;
138+
return Boolean(line[1]);
139139
}
140140
// If it's just a string, always include it
141141
return true;

0 commit comments

Comments
 (0)