lib/chef-dk/shell_out.rb in chef-dk-4.0.60 vs lib/chef-dk/shell_out.rb in chef-dk-4.1.7
- old
+ new
@@ -13,10 +13,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "mixlib/shellout"
+require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
module ChefDK
# A subclass of Mixlib::ShellOut that conforms to the API expected by
# CookbookOmnifetch