diff options
Diffstat (limited to 'src/luarocks/command_line.lua')
-rw-r--r-- | src/luarocks/command_line.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/luarocks/command_line.lua b/src/luarocks/command_line.lua index 495fe855..dbf64b9c 100644 --- a/src/luarocks/command_line.lua +++ b/src/luarocks/command_line.lua | |||
@@ -113,12 +113,6 @@ function command_line.run_command(...) | |||
113 | end | 113 | end |
114 | end | 114 | end |
115 | command = command:gsub("-", "_") | 115 | command = command:gsub("-", "_") |
116 | |||
117 | if flags["extensions"] then | ||
118 | cfg.use_extensions = true | ||
119 | local type_check = require("luarocks.type_check") | ||
120 | type_check.load_extensions() | ||
121 | end | ||
122 | 116 | ||
123 | if cfg.local_by_default then | 117 | if cfg.local_by_default then |
124 | flags["local"] = true | 118 | flags["local"] = true |