From e3ea4292534965009b85d2602a4bfe873fcc1066 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 11 Mar 2022 21:13:52 -0500 Subject: [PATCH] Fix running dspec task with argument --- Rakefile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile.rb b/Rakefile.rb index ae41c18..9896808 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -35,7 +35,7 @@ task :dspec, [:example_string] => :build_dist do |task, args| FileUtils.mkdir_p("test") FileUtils.cp("dist/rscons", "test/rscons.rb") ENV["dist_specs"] = "1" - Rake::Task["spec"].execute(args.example_string) + Rake::Task["spec"].execute(args) ENV.delete("dist_specs") FileUtils.rm_f(Dir.glob(".rscons-*")) end