Fix build

This commit is contained in:
Eric Bottard
2017-08-10 10:34:38 +02:00
parent ca5ace72b7
commit 78f69d51e2

View File

@@ -61,10 +61,4 @@ public class StandardCommandsAutoConfiguration {
return new Stacktrace();
}
@Bean
@ConditionalOnMissingBean(Script.Command.class)
@ConditionalOnProperty(prefix = "spring.shell.command.script", value = "enabled", havingValue = "true", matchIfMissing = true)
public Script script(Shell shell) {
return new Script(shell);
}
}