dynatrace-extensions / dynatrace-extensions-vscode

A VisualStudio Code extension to support all aspects of developing Dynatrace Extensions 2.0
Apache License 2.0
16 stars 7 forks source link

[Bug]: Build command fails when using single quotes #252

Open radu-stefan-dt opened 1 month ago

radu-stefan-dt commented 1 month ago

Description

When using single quotes (') for the name and version attributes of the extension manifest, the regex that's checking these part of the build command will fail to read the value correctly.

Sample manifest:

name: custom:myextension
version: '1.0.0'
minDynatraceVersion: 1.300.0
author:
  name: me

Steps to reproduce

  1. Write an extension manifest where the name or version are surrounded by single quotes '
  2. Run the build command
  3. Hit the error. The message says that either the name or version are missing from the manifest.

Support information