Skip to content

Commit

Permalink
[Issue#1392] corrected typo and renamed local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Seetaramayya committed Dec 23, 2023
1 parent fa18e42 commit a7e2f5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait BatStartScriptKeys {
TaskKey[File]("batScriptTemplateLocation", "The location of the bat script template.")

val batForwarderTemplateLocation =
TaskKey[Option[File]]("bashForwarderTemplateLocation", "The location of the bat forwarder script template.")
TaskKey[Option[File]]("batForwarderTemplateLocation", "The location of the bat forwarder script template.")

val batScriptReplacements = TaskKey[Seq[(String, String)]](
"batScriptReplacements",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ trait CommonStartScriptGenerator {
script -> s"$scriptTargetFolder/$scriptNameWithSuffix"
}

private[this] def resolveTemplate(defaultTemplateLocation: File): URL =
if (defaultTemplateLocation.exists) defaultTemplateLocation.toURI.toURL
else getClass.getResource(defaultTemplateLocation.getName)
private[this] def resolveTemplate(templateLocation: File): URL =
if (templateLocation.exists) templateLocation.toURI.toURL
else getClass.getResource(templateLocation.getName)

private[this] def createForwarderScripts(
executableScriptName: String,
Expand Down

0 comments on commit a7e2f5d

Please sign in to comment.