Skip to content

Commit 8d3e380

Browse files
add support of lowercase options
1 parent 6cd6a97 commit 8d3e380

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

options.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,34 @@ function parseArgs(args) {
276276
result.options.errorsTracesDisabled = result.options.errorTracesDisabled;
277277
delete result.options.errorTracesDisabled;
278278
}
279+
if (result.options.crawlReplaceUrls) {
280+
result.options.crawlReplaceURLs = result.options.crawlReplaceUrls;
281+
delete result.options.crawlReplaceUrls;
282+
}
283+
if (result.options.saveOriginalUrls) {
284+
result.options.saveOriginalURLs = result.options.saveOriginalUrls;
285+
delete result.options.saveOriginalUrls;
286+
}
287+
if (result.options.browserRemoteDebuggingUrl) {
288+
result.options.browserRemoteDebuggingURL = result.options.browserRemoteDebuggingUrl;
289+
delete result.options.browserRemoteDebuggingUrl;
290+
}
291+
if (result.options.crawlRemoveUrlFragment) {
292+
result.options.crawlRemoveURLFragment = result.options.crawlRemoveUrlFragment;
293+
delete result.options.crawlRemoveUrlFragment;
294+
}
295+
if (result.options.compressCss) {
296+
result.options.compressCSS = result.options.compressCss;
297+
delete result.options.compressCss;
298+
}
299+
if (result.options.compressHtml) {
300+
result.options.compressHTML = result.options.compressHtml;
301+
delete result.options.compressHtml;
302+
}
303+
if (result.options.insertMetaCsp) {
304+
result.options.insertMetaCSP = result.options.insertMetaCsp;
305+
delete result.options.insertMetaCsp;
306+
}
279307
delete result.options.acceptHeaderFont;
280308
delete result.options.acceptHeaderImage;
281309
delete result.options.acceptHeaderStylesheet;

0 commit comments

Comments
 (0)