L"ver", base::UTF8ToWide(version).c_str()));
if (!upload_to_server) {
custom_info_entries_.push_back(google_breakpad::CustomInfoEntry(
- L"skip_upload", L"1"));
+ L"skip_upload", L"1"));
}
for (StringMap::const_iterator iter = upload_parameters_.begin();
if (err) {
return
}
- let dumps = files.filter((f) => /\.dmp$/.test(f))
+ const dumps = files.filter((file) => /\.dmp$/.test(file))
if (!dumps.length) {
return
}
// not deleted.
fs.readdir(crashesDir, (err, files) => {
if (!err) {
- for (let file of files) {
+ for (const file of files) {
if (/\.dmp$/.test(file)) {
fs.unlinkSync(path.join(crashesDir, file))
}