@commercelayer/cli-plugin-resources
Advanced tools
Comparing version 6.7.3 to 6.7.4
@@ -56,3 +56,3 @@ "use strict"; | ||
const match = request.path.match(/\/api\/[a-z_]*/g); | ||
const res = match ? match[0].replace('/api/', '') : request.path; | ||
const res = (match ? match[0] : request.path).replace('/api/', ''); | ||
return res; | ||
@@ -59,0 +59,0 @@ }; |
{ | ||
"name": "@commercelayer/cli-plugin-resources", | ||
"description": "Commerce Layer CLI Resources plugin", | ||
"version": "6.7.3", | ||
"version": "6.7.4", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-resources", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
298988