Closed dastagg closed 1 year ago
Can you explain why you think it is a problem as it seems fine to me:
Something is off. In the fork that I just did yesterday and the code that was installed by Packer the snippet looks like:
"Minimum mainframe program [uppercase]": {
"prefix": "IDENTIFICATION",
"body": [
" IDENTIFICATION DIVISION.",
" PROGRAM-ID. ${1:${1:${TM_FILENAME/(.*)\\..+$/$1/}}}.",
" AUTHOR. $2.",
But in the code that I see in your repo, it looks like:
"Minimum mainframe program [uppercase]": {
"prefix": "IDENTIFICATION",
"body": [
" IDENTIFICATION DIVISION.",
" PROGRAM-ID. ${1:${TM_FILENAME/(.*)\\..+$/$1/}}.",
" AUTHOR. $2.",
Note the extra {1:$
I'm not sure where that extra parameter is coming from.
But that extra parameter is causing the error that I posted above.
So the patch would make your code "look like your code"???
I guess hold off on the merge for now. I will delete my fork , fork the repo again and see what the code looks like.
Actually, I see you already changed it with b222f1a. So, go ahead and delete this PR and I will do a Packer update and see if it pulls it down.
When running "Minimum mainframe program [uppercase] snippet, got the following error:
Changed this to match the same string for PROGRAM-ID in other snippets.