diff --git a/lib/comfpile/artefact.rb b/lib/comfpile/artefact.rb index 4bbbc26..b8ba9c1 100644 --- a/lib/comfpile/artefact.rb +++ b/lib/comfpile/artefact.rb @@ -47,7 +47,9 @@ module Comfpile # Meta-States exist: # - in_progress/completed: Anything but/Only succeeded, skipped, failed - def initialize(core, engine, stage, target) + def initialize(core, engine, stage, target, **opts) + raise ArgumentError, "Unknown options supplied!" unless opts.empty? + @core = core @engine = engine