From 2a959a787b80e9945c99f8011e0004c41d1579d7 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Tue, 31 Dec 2024 14:01:39 +0100 Subject: [PATCH 1/2] chore: rm cmnts at end of some settings/clkinfos as to not trigger the sanitychecker when it looks to see if the file ends with `)`. --- apps/bthome/clkinfo.js | 2 +- apps/clkinfogpsspeed/clkinfo.js | 2 +- apps/clkinfomag/clkinfo.js | 2 +- apps/pongclock/settings.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/bthome/clkinfo.js b/apps/bthome/clkinfo.js index 8698c9828..bcf2a6fa4 100644 --- a/apps/bthome/clkinfo.js +++ b/apps/bthome/clkinfo.js @@ -14,4 +14,4 @@ } }) }; -}) // must not have a semi-colon! \ No newline at end of file +}) diff --git a/apps/clkinfogpsspeed/clkinfo.js b/apps/clkinfogpsspeed/clkinfo.js index a2c1f51c1..4875f2687 100644 --- a/apps/clkinfogpsspeed/clkinfo.js +++ b/apps/clkinfogpsspeed/clkinfo.js @@ -24,4 +24,4 @@ ] }; return ci; -}) // must not have a semi-colon! \ No newline at end of file +}) diff --git a/apps/clkinfomag/clkinfo.js b/apps/clkinfomag/clkinfo.js index 620227472..f841bb490 100644 --- a/apps/clkinfomag/clkinfo.js +++ b/apps/clkinfomag/clkinfo.js @@ -46,4 +46,4 @@ ] }; return ci; -}) // must not have a semi-colon! \ No newline at end of file +}) diff --git a/apps/pongclock/settings.js b/apps/pongclock/settings.js index 7e8511da7..2ded76216 100644 --- a/apps/pongclock/settings.js +++ b/apps/pongclock/settings.js @@ -39,4 +39,4 @@ } } }); -})/*(load)/**/ +}) From 036afc5708e74a8742ea322594a22e2b9e9eff81 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Tue, 31 Dec 2024 13:44:12 +0100 Subject: [PATCH 2/2] sanitycheck.js: rm known warns re setting/clkinfo pertaining to the file not ending in `)`. --- bin/sanitycheck.js | 98 ---------------------------------------------- 1 file changed, 98 deletions(-) diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index afca569a0..086c2e551 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -124,104 +124,6 @@ var KNOWN_WARNINGS = [ `In locale test, long time format might not work in some apps if it is not "%HH:%MM:%SS"`, `In locale wae_CH, short time format might not work in some apps if it is not "%HH:%MM"`, `In locale test, short time format might not work in some apps if it is not "%HH:%MM"`, - "App a_dndtoggle file a_dndtoggle.settings.js should be evaluated as a function but doesn't end in ')'", - "App activepedom file activepedom.settings.js should be evaluated as a function but doesn't end in ')'", - "App agpsdata file agpsdata.settings.js should be evaluated as a function but doesn't end in ')'", - "App alarm file alarm.settings.js should be evaluated as a function but doesn't end in ')'", - "App andark file andark.settings.js should be evaluated as a function but doesn't end in ')'", - "App antonclkplus file antonclkplus.settings.js should be evaluated as a function but doesn't end in ')'", - "App banglexercise file banglexercise.settings.js should be evaluated as a function but doesn't end in ')'", - "App barclock file barclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App berlinc file berlinc.settings.js should be evaluated as a function but doesn't end in ')'", - "App bikespeedo file bikespeedo.settings.js should be evaluated as a function but doesn't end in ')'", - "App blc file blc.settings.js should be evaluated as a function but doesn't end in ')'", - "App boxclk file boxclk.settings.js should be evaluated as a function but doesn't end in ')'", - "App bthome file bthome.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App bthrm file bthrm.settings.js should be evaluated as a function but doesn't end in ')'", - "App carcrazy file carcrazy.settings.js should be evaluated as a function but doesn't end in ')'", - "App chimer file chimer.settings.js should be evaluated as a function but doesn't end in ')'", - "App circlesclock file circlesclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App clicompleteclk file clicompleteclk.settings.js should be evaluated as a function but doesn't end in ')'", - "App clkinfocal file clkinfocal.settings.js should be evaluated as a function but doesn't end in ')'", - "App clkinfogps file gps.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App clkinfogpsspeed file clkinfogpsspeed.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App clkinfom file ram.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App clkinfomag file clkinfomag.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App clkinfostopw file stopw.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App clockcal file clockcal.settings.js should be evaluated as a function but doesn't end in ')'", - "App cogclock file cogclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App counter2 file counter2.settings.js should be evaluated as a function but doesn't end in ')'", - "App cprassist file cprassist.settings.js should be evaluated as a function but doesn't end in ')'", - "App dane_tcr file dane_tcr.settings.js should be evaluated as a function but doesn't end in ')'", - "App dragboard file dragboard.settings.js should be evaluated as a function but doesn't end in ')'", - "App draguboard file draguboard.settings.js should be evaluated as a function but doesn't end in ')'", - "App drained file drained.settings.js should be evaluated as a function but doesn't end in ')'", - "App drinkcounter file drinkcounter.settings.js should be evaluated as a function but doesn't end in ')'", - "App dtlaunch file dtlaunch.settings.js should be evaluated as a function but doesn't end in ')'", - "App ffcniftyb file ffcniftyb.settings.js should be evaluated as a function but doesn't end in ')'", - "App folderlaunch file folderlaunch.settings.js should be evaluated as a function but doesn't end in ')'", - "App gassist file gassist.settings.js should be evaluated as a function but doesn't end in ')'", - "App gbmusic file gbmusic.settings.js should be evaluated as a function but doesn't end in ')'", - "App getup file getup.settings.js should be evaluated as a function but doesn't end in ')'", - "App gipy file gipy.settings.js should be evaluated as a function but doesn't end in ')'", - "App gpsrec file gpsrec.settings.js should be evaluated as a function but doesn't end in ')'", - "App gpssetup file gpssetup.settings.js should be evaluated as a function but doesn't end in ')'", - "App iconlaunch file iconlaunch.settings.js should be evaluated as a function but doesn't end in ')'", - "App infoclk file infoclk.settings.js should be evaluated as a function but doesn't end in ')'", - "App largeclock file largeclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App launch file launch.settings.js should be evaluated as a function but doesn't end in ')'", - "App messagelist file messagelist.settings.js should be evaluated as a function but doesn't end in ')'", - "App messages file messages.settings.js should be evaluated as a function but doesn't end in ')'", - "App messages_light file messages_light.settings.js should be evaluated as a function but doesn't end in ')'", - "App messagesoverlay file messagesoverlay.settings.js should be evaluated as a function but doesn't end in ')'", - "App metronome file metronome.settings.js should be evaluated as a function but doesn't end in ')'", - "App multitimer file multitimer.settings.js should be evaluated as a function but doesn't end in ')'", - "App nesclock file nesclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App nightwatch file nightwatch.settings.js should be evaluated as a function but doesn't end in ')'", - "App owmweather file owmweather.settings.js should be evaluated as a function but doesn't end in ')'", - "App pebble file pebble.settings.js should be evaluated as a function but doesn't end in ')'", - "App pebbled file pebbled.settings.js should be evaluated as a function but doesn't end in ')'", - "App pongclock file pongclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App popconlaunch file popcon.settings.js should be evaluated as a function but doesn't end in ')'", - "App poweroff file poweroff.settings.js should be evaluated as a function but doesn't end in ')'", - "App puzzle15 file puzzle15.settings.js should be evaluated as a function but doesn't end in ')'", - "App qcenter file qcenter.settings.js should be evaluated as a function but doesn't end in ')'", - "App rebbleagenda file rebbleagenda.settings.js should be evaluated as a function but doesn't end in ')'", - "App recorder file recorder.clkinfo.js should be evaluated as a function but doesn't end in ')'", - "App rep file rep.settings.js should be evaluated as a function but doesn't end in ')'", - "App saclock file saclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App sched file sched.settings.js should be evaluated as a function but doesn't end in ')'", - "App score file score.settings.js should be evaluated as a function but doesn't end in ')'", - "App sensortools file sensortools.settings.js should be evaluated as a function but doesn't end in ')'", - "App shadowclk file shadowclk.settings.js should be evaluated as a function but doesn't end in ')'", - "App shortcuts file shortcuts.settings.js should be evaluated as a function but doesn't end in ')'", - "App simplebgclock file simplebgclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App slomoclock file slomoclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App slopeclockpp file slopeclockpp.settings.js should be evaluated as a function but doesn't end in ')'", - "App smclock file smclock.settings.js should be evaluated as a function but doesn't end in ')'", - "App speedalt file speedalt.settings.js should be evaluated as a function but doesn't end in ')'", - "App speedalt2 file speedalt2.settings.js should be evaluated as a function but doesn't end in ')'", - "App swp2clk file swp2clk.settings.js should be evaluated as a function but doesn't end in ')'", - "App taglaunch file taglaunch.settings.js should be evaluated as a function but doesn't end in ')'", - "App thunder file thunder.settings.js should be evaluated as a function but doesn't end in ')'", - "App timecal file timecal.settings.js should be evaluated as a function but doesn't end in ')'", - "App timerclk file timerclk.settings.js should be evaluated as a function but doesn't end in ')'", - "App timestamplog file timestamplog.settings.js should be evaluated as a function but doesn't end in ')'", - "App toucher file toucher.settings.js should be evaluated as a function but doesn't end in ')'", - "App touchtimer file touchtimer.settings.js should be evaluated as a function but doesn't end in ')'", - "App trex file trex.settings.js should be evaluated as a function but doesn't end in ')'", - "App usgs file usgs.settings.js should be evaluated as a function but doesn't end in ')'", - "App weatherClock file weatherClock.settings.js should be evaluated as a function but doesn't end in ')'", - "App wid_edit file wid_edit.settings.js should be evaluated as a function but doesn't end in ')'", - "App widalarmeta file widalarmeta.settings.js should be evaluated as a function but doesn't end in ')'", - "App widbaroalarm file widbaroalarm.settings.js should be evaluated as a function but doesn't end in ')'", - "App widbatwarn file widbatwarn.settings.js should be evaluated as a function but doesn't end in ')'", - "App widbgjs file widbgjs.settings.js should be evaluated as a function but doesn't end in ')'", - "App widdst file widdst.settings.js should be evaluated as a function but doesn't end in ')'", - "App widgps file widgps.settings.js should be evaluated as a function but doesn't end in ')'", - "App widhrm file widhrm.settings.js should be evaluated as a function but doesn't end in ')'", - "App widmp file widmp.settings.js should be evaluated as a function but doesn't end in ')'", - "App widsleepstatus file widsleepstatus.settings.js should be evaluated as a function but doesn't end in ')'", ]; var apps = [];