From e92663061dbec1ad8d4b880f28f37095c6d878f8 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Fri, 9 Sep 2022 15:51:37 -0500 Subject: [PATCH] change the newly-unnecessary header to a warning instead --- Session.omnifocusjs/Resources/start.js | 16 ++++------------ Session.omnifocusjs/Resources/start.ts | 16 ++++------------ 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/Session.omnifocusjs/Resources/start.js b/Session.omnifocusjs/Resources/start.js index bacaf34..b96c5f8 100644 --- a/Session.omnifocusjs/Resources/start.js +++ b/Session.omnifocusjs/Resources/start.js @@ -1,16 +1,8 @@ "use strict"; -/*{ - "type": "action", - "targets": ["omnifocus"], - "author": "Brian Hicks", - "identifier": "zone.bytes.focus", - "version": "1.0", - "description": "Start a pomodoro for the selected task", - "label": "Focus", - "shortLabel": "Focus", - "paletteLabel": "Focus", - "image": "clock" -}*/ +/* +WARNING: if you're looking at the file ending in .js and want to make changes, +don't! Modify the .ts file and run `tsc` instead! +*/ (() => { var action = new PlugIn.Action(async (selection, sender) => { try { diff --git a/Session.omnifocusjs/Resources/start.ts b/Session.omnifocusjs/Resources/start.ts index c0106e4..b4e320e 100644 --- a/Session.omnifocusjs/Resources/start.ts +++ b/Session.omnifocusjs/Resources/start.ts @@ -1,15 +1,7 @@ -/*{ - "type": "action", - "targets": ["omnifocus"], - "author": "Brian Hicks", - "identifier": "zone.bytes.focus", - "version": "1.0", - "description": "Start a pomodoro for the selected task", - "label": "Focus", - "shortLabel": "Focus", - "paletteLabel": "Focus", - "image": "clock" -}*/ +/* +WARNING: if you're looking at the file ending in .js and want to make changes, +don't! Modify the .ts file and run `tsc` instead! +*/ (() => { var action = new PlugIn.Action(async (selection: Selection, sender: any) => { try {