diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 8a22efd4f..fd952f2e5 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -20,7 +20,7 @@ jobs: distribution: temurin java-version: 17 cache: sbt - - run: sbt "compile;test;doc;stage" + - run: sbt "project compiler-access" run styling: runs-on: ubuntu-latest diff --git a/compiler-access/src/main/scala/org/alephium/ralph/lsp/access/compiler/parser/soft/ast/SoftAST.scala b/compiler-access/src/main/scala/org/alephium/ralph/lsp/access/compiler/parser/soft/ast/SoftAST.scala index 81f062e1f..24b207181 100644 --- a/compiler-access/src/main/scala/org/alephium/ralph/lsp/access/compiler/parser/soft/ast/SoftAST.scala +++ b/compiler-access/src/main/scala/org/alephium/ralph/lsp/access/compiler/parser/soft/ast/SoftAST.scala @@ -291,6 +291,7 @@ object SoftAST { this .copy( code = code + .replaceAll("\r", "\\\\r") // Replace carriage with \\r .replaceAll("\n", "\\\\n") // Replace newline with \\n .replaceAll("\t", "\\\\t") // Replace tab with \\t )