Skip to content

Commit b9518a7

Browse files
cleanup
Summary: - this stuff is not used anymore Reviewed By: michalmuskala Differential Revision: D60840495 fbshipit-source-id: a7947cbdcbb00ab4e01d90560be447b338162d50
1 parent e60470c commit b9518a7

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

eqwalizer/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dumps/
88
target/
99
tools/
1010
*.iml
11-
*.build_info
1211
rebar.lock
1312
metals.sbt
1413
elp-ast/

eqwalizer/src/main/resources/application.conf

-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
eqwalizer {
2-
build_info = wa.build_info
3-
build_info = ${?EQWALIZER_BUILD_INFO}
4-
code_width = 100
5-
ast_dir = elp-ast
6-
ast_dir = ${?EQWALIZER_ELP_AST_DIR}
7-
approximate_complex_types = true
82
eqwater = true
93
eqwater = ${?EQWALIZER_EQWATER}
104
tolerate_errors = true
115
tolerate_errors = ${?EQWALIZER_TOLERATE_ERRORS}
12-
mode = standalone
136
mode = ${?EQWALIZER_MODE}
147
error_depth = 4
158
error_depth = ${?EQWALIZER_ERROR_DEPTH}

eqwalizer/src/main/scala/com/whatsapp/eqwalizer/package.scala

-6
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ package object eqwalizer {
2929
}
3030

3131
case class Config(
32-
codeWidth: Int,
33-
astDir: Option[String],
34-
approximateComplexTypes: Boolean,
3532
eqwater: Boolean,
3633
tolerateErrors: Boolean,
3734
clauseCoverage: Boolean,
@@ -46,9 +43,6 @@ package object eqwalizer {
4643
val modeStr = config.getString("mode")
4744
val mode = Mode.fromString(modeStr).getOrElse(throw new IllegalArgumentException(s"Unknown mode ${modeStr}"))
4845
Config(
49-
codeWidth = config.getInt("code_width"),
50-
astDir = if (config.hasPath("ast_dir")) Some(config.getString("ast_dir")) else None,
51-
approximateComplexTypes = config.getBoolean("approximate_complex_types"),
5246
eqwater = config.getBoolean("eqwater"),
5347
tolerateErrors = config.getBoolean("tolerate_errors"),
5448
clauseCoverage = config.getBoolean("clause_coverage"),

0 commit comments

Comments
 (0)