:art:
authorKevin Sawicki <kevinsawicki@gmail.com>
Fri, 31 Mar 2017 17:42:43 +0000 (10:42 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Fri, 31 Mar 2017 17:42:43 +0000 (10:42 -0700)
atom/common/crash_reporter/crash_reporter_win.cc
spec/api-crash-reporter-spec.js

index b13108d..a7908ef 100644 (file)
@@ -249,7 +249,7 @@ google_breakpad::CustomClientInfo* CrashReporterWin::GetCustomInfo(
       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();
index 555445e..8a51b5e 100644 (file)
@@ -103,7 +103,7 @@ describe('crashReporter module', function () {
             if (err) {
               return
             }
-            let dumps = files.filter((f) => /\.dmp$/.test(f))
+            const dumps = files.filter((file) => /\.dmp$/.test(file))
             if (!dumps.length) {
               return
             }
@@ -136,7 +136,7 @@ describe('crashReporter module', function () {
           //   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))
                 }