Browse Source

fix oops

because compiling before pushing is for wusses
Charles Kerr 7 years ago
parent
commit
e51c78f10c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      atom/app/command_line_args.cc

+ 3 - 3
atom/app/command_line_args.cc

@@ -1405,9 +1405,9 @@ bool CheckCommandLineArguments(int argc, base::CommandLine::CharType** argv) {
                           return base::StringPiece(a) < base::StringPiece(b);
                         }))
       << "The kBlacklist must be in sorted order";
-  DCHECK_NE(std::binary_search(std::begin(kBlacklist), std::end(kBlacklist),
-                      base::StringPiece("inspect"));
-      << "Do not forget to add Node command line flags to kBlacklist";
+  DCHECK(std::binary_search(std::begin(kBlacklist), std::end(kBlacklist),
+                            base::StringPiece("inspect")))
+      << "Remember to add Node command line flags to kBlacklist";
 
   const base::CommandLine::StringType dashdash(2, '-');
   bool block_blacklisted_args = false;