Module:TemplateStarter: Difference between revisions

// via Wikitext Extension for VSCode
Tag: Reverted
// via Wikitext Extension for VSCode
Tag: Reverted
Line 31: Line 31:
     end
     end
      
      
     local variantConfig = DatasetLoader.load(variantPath)
     local variantConfig = DatasetLoader.get(variantPath)
     if not variantConfig then
     if not variantConfig or not next(variantConfig) then
         return "Error: Could not load variant configuration"
         return "Error: Could not load variant configuration from " .. variantPath
     end
     end