You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2021/09/20 22:48:56 UTC
[royale-compiler] 03/04: formatter: fix wrong command line option
mapping
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 09d33bf421d21cc42034914a6884ad6aca27c4b6
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Sep 20 15:31:00 2021 -0700
formatter: fix wrong command line option mapping
---
.../src/main/java/org/apache/royale/formatter/config/Configuration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java b/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java
index 216175d..c66c8a9 100644
--- a/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java
+++ b/formatter/src/main/java/org/apache/royale/formatter/config/Configuration.java
@@ -304,7 +304,7 @@ public class Configuration {
}
@Config
- @Mapping("insert-space-control-flow-keywords")
+ @Mapping("insert-space-anonymous-function-keyword")
public void setInsertSpaceAfterFunctionKeywordForAnonymousFunctions(ConfigurationValue cv, boolean b)
{
this.insertSpaceAfterFunctionKeywordForAnonymousFunctions = b;