File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -26,18 +26,18 @@ const { AbortController } = require("node-abort-controller");
26
26
fs . readFile ( './src/Options/Definitions.js' , 'utf8' ) ,
27
27
fs . readFile ( './src/Options/docs.js' , 'utf8' ) ,
28
28
] ) ;
29
- const getDifference = ( s , t ) => {
30
- s = [ ...s ] . sort ( ) ;
31
- t = [ ...t ] . sort ( ) ;
32
- return t . find ( ( char , i ) => char !== s [ i ] ) ;
33
- } ;
29
+ // const getDifference = (s, t) => {
30
+ // s = [...s].sort();
31
+ // t = [...t].sort();
32
+ // return t.find((char, i) => char !== s[i]);
33
+ // };
34
34
35
- if ( currentDefinitions !== newDefinitions ) {
36
- console . log ( getDifference ( currentDefinitions , newDefinitions ) ) ;
37
- }
38
- if ( currentDocs !== newDocs ) {
39
- console . log ( getDifference ( currentDocs , newDocs ) ) ;
40
- }
35
+ // if (currentDefinitions !== newDefinitions) {
36
+ // console.log(getDifference(currentDefinitions, newDefinitions));
37
+ // }
38
+ // if (currentDocs !== newDocs) {
39
+ // console.log(getDifference(currentDocs, newDocs));
40
+ // }
41
41
if ( currentDefinitions !== newDefinitions || currentDocs !== newDocs ) {
42
42
console . error (
43
43
'\x1b[31m%s\x1b[0m' ,
You can’t perform that action at this time.
0 commit comments