File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,7 @@ void jscoverage_instrument(const char * source,
185
185
}
186
186
187
187
/* copy the resources */
188
- if (jscoverage_mozilla ) {
189
- char * jscoverage_chrome_directory = make_path (chrome_directory , "jscoverage" );
190
- mkdirs (jscoverage_chrome_directory );
191
- free (jscoverage_chrome_directory );
192
- }
193
- else {
194
- jscoverage_copy_resources (destination );
195
- }
188
+ jscoverage_copy_resources (destination );
196
189
197
190
/* finally: copy the directory */
198
191
struct DirListEntry * list = make_recursive_dir_list (source );
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ int main(int argc, char ** argv) {
46
46
47
47
char * * exclude = xnew (char * , argc - 1 );
48
48
int num_exclude = 0 ;
49
+
50
+ jscoverage_highlight = false;
49
51
50
52
for (int i = 1 ; i < argc ; i ++ ) {
51
53
if (strcmp (argv [i ], "-h" ) == 0 || strcmp (argv [i ], "--help" ) == 0 ) {
@@ -58,9 +60,6 @@ int main(int argc, char ** argv) {
58
60
else if (strcmp (argv [i ], "-v" ) == 0 || strcmp (argv [i ], "--verbose" ) == 0 ) {
59
61
verbose = 1 ;
60
62
}
61
- else if (strcmp (argv [i ], "--no-highlight" ) == 0 ) {
62
- jscoverage_highlight = false;
63
- }
64
63
else if (strcmp (argv [i ], "--mozilla" ) == 0 ) {
65
64
jscoverage_mozilla = true;
66
65
jscoverage_set_js_version ("180" );
You can’t perform that action at this time.
0 commit comments