Skip to content

Commit

Permalink
fix: ignore empty namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulsattar committed Oct 29, 2024
1 parent b382d6b commit 0b4a70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"comment": "Refer to ApiVersionMetadata in orgUtils.ts for details",
"target": {
"versionNumber": "62.0",
"matchingDevServerVersion": "^10.7.0"
"matchingDevServerVersion": "^10.7.3"
},
"versionToTagMappings": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/lwc-dev-server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function createLWCServerConfig(
identityToken: token,
lifecycle: Lifecycle.getInstance(),
clientType,
namespace: typeof namespace === 'string' ? namespace : undefined,
namespace: typeof namespace === 'string' && namespace.length > 0 ? namespace : undefined,
};

if (certData?.pemCertificate && certData.pemPrivateKey) {
Expand Down

0 comments on commit 0b4a70c

Please sign in to comment.