bin/chef-solo in chef-bin-16.4.41 vs bin/chef-solo in chef-bin-16.5.64
- old
+ new
@@ -16,9 +16,9 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
-$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
+$:.unshift(File.join(__dir__, "..", "lib"))
require "chef/application/solo"
Chef::Application::Solo.new.run(enforce_license: true)