mirror of https://github.com/sbt/sbt.git
Merge pull request #2961 from ekrich/wip13/fix-2551
Fix #2551: scripted mode ignores quotation
This commit is contained in:
commit
cc19d51f1d
|
|
@ -42,7 +42,7 @@ object Script {
|
|||
val append = Load.transformSettings(Load.projectScope(currentRef), currentRef.build, rootProject, scriptSettings ++ embeddedSettings)
|
||||
|
||||
val newStructure = Load.reapply(session.original ++ append, structure)
|
||||
val arguments = state.remainingCommands.drop(1)
|
||||
val arguments = state.remainingCommands.drop(1).map(e => s""""${e}"""")
|
||||
val newState = arguments.mkString("run ", " ", "") :: state.copy(remainingCommands = Nil)
|
||||
Project.setProject(session, newStructure, newState)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
### Bug fixes
|
||||
|
||||
- Fixes scripted mode ignores quotation. [#2551][2551] by [@ekrich][@ekrich]
|
||||
|
||||
[2551]: https://github.com/sbt/sbt/issues/2551
|
||||
[@ekrich]: https://github.com/ekrich
|
||||
Loading…
Reference in New Issue