diff --git a/package.json b/package.json index ac0b46c..d7439b3 100644 --- a/package.json +++ b/package.json @@ -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" }, @@ -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" } ] }