Skip to content

Commit fb0d9dc

Browse files
ianshiunduegonSchiele
authored andcommitted
Update check_voter method for Scala (egonSchiele#79)
* add IDE specific git ignore files * add log for new user
1 parent 48f971e commit fb0d9dc

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ highlights/node_modules
2727
highlights/atom-language-perl6/
2828
.DS_store
2929
highlights/package-lock.json
30+
31+
# IDE specific
32+
.scala_dependencies
33+
.classpath
34+
*.iml
35+
.idea/
36+
.idea_modules/
37+
.project
38+
.settings/
39+
*.sublime-project
40+
*.sublime-workspace
41+
/.env
42+
atlassian-ide-plugin.xml

05_hash_tables/scala/02_check_voter.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ def check_voter(name: String): Unit = {
55
println("kick them out!")
66
} else{
77
voted += (name -> true)
8+
println("let them vote!")
89
}
910
}
1011
check_voter("tom")

0 commit comments

Comments
 (0)