mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-16 15:33:17 +00:00
remove check for file_extensions configuration. show progress indication after 5 seconds.
This commit is contained in:
@@ -87,10 +87,6 @@ func Load(configPath string) (*Config, error) {
|
||||
}
|
||||
|
||||
func (c *Config) Validate() error {
|
||||
if len(c.FileExtensions) == 0 {
|
||||
return fmt.Errorf("at least one file extension must be specified")
|
||||
}
|
||||
|
||||
if c.RequestsPerSecond != nil && *c.RequestsPerSecond <= 0 {
|
||||
return fmt.Errorf("requests_per_second must be positive")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user