removes warning from finalize that is no longer applicable
@@ -289,10 +289,6 @@ func (sf *Finalizer) CopyFilesToPublic(appRootDir string) error {
}
func (sf *Finalizer) Warnings() {
- if len(sf.Config.LocationInclude) > 0 && len(sf.Config.RootDir) == 0 {
- sf.Log.Warning("The location_include directive only works in conjunction with root.\nPlease specify root to use location_include")
- }
-
if filepath.Clean(sf.Config.RootDir) == "." {
found, _ := libbuildpack.FileExists(filepath.Join(sf.BuildDir, "nginx", "conf"))
if found {
