Browse Source

remove const from non-member function

Shelley Vohr 7 years ago
parent
commit
7f89cd0774
2 changed files with 2 additions and 2 deletions
  1. 1 1
      atom/common/api/atom_api_crash_reporter.cc
  2. 1 1
      spec/api-crash-reporter-spec.js

+ 1 - 1
atom/common/api/atom_api_crash_reporter.cc

@@ -39,7 +39,7 @@ void RemoveExtraParameter(const std::string& key) {
   CrashReporter::GetInstance()->RemoveExtraParameter(key);
 }
 
-std::map<std::string, std::string> GetParameters() const {
+std::map<std::string, std::string> GetParameters() {
   return CrashReporter::GetInstance()->GetParameters();
 }
 

+ 1 - 1
spec/api-crash-reporter-spec.js

@@ -11,7 +11,7 @@ const {closeWindow} = require('./window-helpers')
 const {remote} = require('electron')
 const {app, BrowserWindow, crashReporter} = remote.require('electron')
 
-describe.only('crashReporter module', () => {
+describe('crashReporter module', () => {
   if (process.mas || process.env.DISABLE_CRASH_REPORTER_TESTS) return
 
   let originalTempDirectory = null