Use const for fs/path requires
authorKevin Sawicki <kevinsawicki@gmail.com>
Thu, 4 Feb 2016 17:16:40 +0000 (09:16 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Thu, 4 Feb 2016 17:16:40 +0000 (09:16 -0800)
atom/browser/default_app/main.js

index 895e3df..c24fc12 100644 (file)
@@ -4,8 +4,8 @@ const dialog   = electron.dialog;
 const shell    = electron.shell;
 const Menu     = electron.Menu;
 
-var fs = require('fs');
-var path = require('path');
+const fs = require('fs');
+const path = require('path');
 
 // Quit when all windows are closed and no other one is listening to this.
 app.on('window-all-closed', function() {