Skip to content

Commit

Permalink
Do not fail when createSrc set is too narrow.
Browse files Browse the repository at this point in the history
It seems like the original code is rather suspicious (as it
fails with empty message) so I presume that the intended behavior
was to *not* fail when `createSrc` set is too narrow.

Fixes #139.
  • Loading branch information
gkossakowski committed Jan 16, 2013
1 parent 20d80c0 commit 67d7ec8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -320,7 +320,7 @@ private object Eclipse extends EclipseSDTConfig {
if (values subsetOf createSrc)
(setting(key in (ref, configuration), state) <**> classDirectory)((sds, cd) => sds map (_ -> cd))
else
"".failNel
success(Seq.empty)
Seq(
dirs(ValueSet(Unmanaged, Source), Keys.unmanagedSourceDirectories),
dirs(ValueSet(Managed, Source), Keys.managedSourceDirectories),
Expand Down

0 comments on commit 67d7ec8

Please sign in to comment.