fun parseScriptPath()

in common/src/main/kotlin/com/jetbrains/teamcity/plugins/unrealengine/common/buildgraph/BuildGraphParameters.kt [25:32]


    fun parseScriptPath(runnerParameters: Map<String, String>): BuildGraphScriptPath {
        val scriptPath = runnerParameters[name]
        if (scriptPath.isNullOrEmpty()) {
            raise(PropertyValidationError(name, "The path to the script is not set."))
        }

        return BuildGraphScriptPath(scriptPath)
    }