Skip to content

Commit

Permalink
Merge pull request #98 from Accenture/BugFix/97-ssjs-files-do-not-sho…
Browse files Browse the repository at this point in the history
…w-mcdev-deploy-in-the-menus

added ssjs extension to menus in package.json
  • Loading branch information
anasilva105 authored Jan 25, 2024
2 parents 25b84de + 97632aa commit b083ca4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"group": "devtools"
},
{
"when": "resourcePath =~ /deploy/ || (resourcePath =~ /retrieve/ && (resourceExtname == '.json' || resourceExtname == '.html' || resourceExtname == '.sql' || resourceLangId == 'markdown'))",
"when": "resourcePath =~ /deploy/ || (resourcePath =~ /retrieve/ && (resourceExtname == '.json' || resourceExtname == '.html' || resourceExtname == '.sql' || resourceExtname == '.ssjs' || resourceLangId == 'markdown'))",
"command": "sfmc-devtools-vscext.devtoolsCMDeploy",
"group": "devtools"
},
Expand All @@ -70,9 +70,14 @@
"group": "devtools"
},
{
"when": "resourcePath =~ /deploy/ || (resourcePath =~ /retrieve/ && (resourceLangId == json || resourceLangId == html || resourceLangId == sql || resourceLangId == markdown || resourceLangId == ssjs))",
"when": "resourcePath =~ /deploy/ || (resourcePath =~ /retrieve/ && (resourceExtname == '.json' || resourceExtname == '.html' || resourceExtname == '.sql' || resourceExtname == '.ssjs' || resourceLangId == 'markdown'))",
"command": "sfmc-devtools-vscext.devtoolsCMDeploy",
"group": "devtools"
},
{
"when": "(resourcePath =~ /retrieve/ || resourcePath =~ /deploy/) && resourceFilename != 'retrieve' && resourceFilename != 'deploy'",
"command": "sfmc-devtools-vscext.devtoolsCMCopyToBU",
"group": "devtools"
}
]
}
Expand Down

0 comments on commit b083ca4

Please sign in to comment.