remove chdir

This commit is contained in:
onyx-and-iris 2023-08-11 00:50:10 +01:00
parent e989e72e51
commit 3755e39b44

View File

@ -45,8 +45,7 @@ namespace :e do
desc "Runs the obs example"
task :obs do
targetdir = File.join(HERE, "examples", "obs")
Dir.chdir(targetdir)
ruby File.join(targetdir, "main.rb")
filepath = File.join(HERE, "examples", "obs", "main.rb")
ruby filepath
end
end