Skip to content

Commit 9e0374d

Browse files
committed
lib/dtutils.lua - fix typos
1 parent e47672b commit 9e0374d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/dtutils.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function dtutils.check_min_api_version(min_api, script_name)
6565
dt.print_error("This application is written for lua api version " .. min_api .. " or later.")
6666
dt.print_error("The current lua api version is " .. current_api)
6767
dt.print("ERROR: " .. script_name .. " failed to load. Lua API version " .. min_api .. " or later required.")
68-
dt.control.sleep(2000) -- aqllow time for the error to display before script_manager writes it's error message
68+
dt.control.sleep(2000) -- allow time for the error to display before script_manager writes it's error message
6969
error("Minimum API " .. min_api .. " not met for " .. script_name .. ".", 0)
7070
end
7171
end
@@ -101,8 +101,8 @@ function dtutils.check_max_api_version(max_api, script_name)
101101
dt.print_error("This application is written for lua api version " .. max_api .. " or earlier.")
102102
dt.print_error("The current lua api version is " .. current_api)
103103
dt.print("ERROR: " .. script_name .. " failed to load. Lua API version " .. max_api .. " or earlier required.")
104-
dt.control.sleep(2000) -- aqllow time for the error to display before script_manager writes it's error message
105-
error("Mzximum API " .. max_api .. " not met for " .. script_name .. ".", 0)
104+
dt.control.sleep(2000) -- allow time for the error to display before script_manager writes it's error message
105+
error("Maximum API " .. max_api .. " not met for " .. script_name .. ".", 0)
106106
end
107107
end
108108

0 commit comments

Comments
 (0)