File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/main/kotlin/com/coder/toolbox/util Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ const val TOKEN = "token"
7
7
const val WORKSPACE = " workspace"
8
8
const val AGENT_NAME = " agent"
9
9
const val AGENT_ID = " agent_id"
10
- private const val FOLDER = " folder"
11
- private const val IDE_DOWNLOAD_LINK = " ide_download_link"
12
10
private const val IDE_PRODUCT_CODE = " ide_product_code"
13
11
private const val IDE_BUILD_NUMBER = " ide_build_number"
14
- private const val IDE_PATH_ON_HOST = " project_path"
12
+ private const val PROJECT_PATH = " project_path"
15
13
16
14
// Helper functions for reading from the map. Prefer these to directly
17
15
// interacting with the map.
@@ -28,10 +26,8 @@ fun Map<String, String?>.agentName() = this[AGENT_NAME]
28
26
29
27
fun Map <String , String ?>.agentID () = this [AGENT_ID ]
30
28
31
- fun Map <String , String >.folder () = this [FOLDER ]
32
-
33
29
fun Map <String , String >.ideProductCode () = this [IDE_PRODUCT_CODE ]
34
30
35
31
fun Map <String , String >.ideBuildNumber () = this [IDE_BUILD_NUMBER ]
36
32
37
- fun Map <String , String >.projectPath () = this [IDE_PATH_ON_HOST ]
33
+ fun Map <String , String >.projectPath () = this [PROJECT_PATH ]
You can’t perform that action at this time.
0 commit comments