Let "orig_env_path" return a copy of the path,
so users of the method can modify the value.
This commit is contained in:
@ -187,7 +187,7 @@ module Cmdtest
|
||||
end
|
||||
|
||||
def orig_env_path
|
||||
@orig_env_path
|
||||
@orig_env_path.dup
|
||||
end
|
||||
|
||||
def set_env_path(path_arr)
|
||||
|
Reference in New Issue
Block a user