Skip to content

Commit 2f9de4f

Browse files
authored
Do not treat warnings as errors when compiling Kotlin scripts (#119)
1 parent f5d08c7 commit 2f9de4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ workflow(
6666
find -name *.main.kts -print0 | while read -d ${'$'}'\0' file
6767
do
6868
echo "Compiling ${'$'}file..."
69-
kotlinc -Werror -Xallow-any-scripts-in-source-roots -Xuse-fir-lt=false "${'$'}file"
69+
kotlinc -Xallow-any-scripts-in-source-roots -Xuse-fir-lt=false "${'$'}file"
7070
done
7171
""".trimIndent()
7272
)

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
find -name *.main.kts -print0 | while read -d $'\0' file
3838
do
3939
echo "Compiling $file..."
40-
kotlinc -Werror -Xallow-any-scripts-in-source-roots -Xuse-fir-lt=false "$file"
40+
kotlinc -Xallow-any-scripts-in-source-roots -Xuse-fir-lt=false "$file"
4141
done
4242
validate_typings:
4343
name: 'Validate typings'

0 commit comments

Comments
 (0)