[gjs/ewlsh/refactor-argv: 5/6] system: Alphabetize list of module properties and add missing




commit 5956fa77a30aa731c210ee68f7c4c5657b98fe01
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Feb 11 21:36:17 2021 -0800

    system: Alphabetize list of module properties and add missing
    
    We forgot to add programPath in here when adding it to the script module.
    Alphabetize so that mistakes are less likely in future.

 modules/esm/system.js | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/modules/esm/system.js b/modules/esm/system.js
index 07cf6c2c..c12d8de5 100644
--- a/modules/esm/system.js
+++ b/modules/esm/system.js
@@ -5,22 +5,24 @@ const system = import.meta.importSync('system');
 
 export let {
     addressOf,
-    refcount,
     breakpoint,
-    gc,
+    clearDateCaches,
     exit,
-    version,
+    gc,
     programInvocationName,
-    clearDateCaches,
+    programPath,
+    refcount,
+    version,
 } = system;
 
 export default {
     addressOf,
-    refcount,
     breakpoint,
-    gc,
+    clearDateCaches,
     exit,
-    version,
+    gc,
     programInvocationName,
-    clearDateCaches,
+    programPath,
+    refcount,
+    version,
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]