From ee6756b77d9d3b36c3a7bd7f3d758607b8c74a4b Mon Sep 17 00:00:00 2001 From: Kazuaki MATSUO Date: Sat, 15 Sep 2018 12:36:14 +0900 Subject: [PATCH] update command check rake task --- script/commands.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/commands.rb b/script/commands.rb index 6b1c68de..0def70ee 100644 --- a/script/commands.rb +++ b/script/commands.rb @@ -31,10 +31,10 @@ def initialize # @return [String] The file path in which has saved `routes.js`. # def get_mjsonwp_routes(to_path = './mjsonwp_routes.js') - uri = URI 'https://raw.githubusercontent.com/appium/appium-base-driver/master/lib/mjsonwp/routes.js?raw=1' + uri = URI 'https://raw.githubusercontent.com/appium/appium-base-driver/master/lib/protocol/routes.js?raw=1' result = Net::HTTP.get uri - File.delete to_path + File.delete to_path if File.exist? to_path File.write to_path, result to_path end