azdo-cli 0.10.0-develop.507 → 0.10.0-develop.512

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -624,7 +624,7 @@ function findDotEnvPat(startDir = process.cwd()) {
624
624
  if (existsSync(envFile)) {
625
625
  const contents = readFileSync2(envFile, "utf8");
626
626
  for (const line of contents.split("\n")) {
627
- const match = line.match(/^AZDO_PAT\s*=\s*(.+)$/);
627
+ const match = line.match(/^AZDO_PAT\s*=([^\n\r]+)$/);
628
628
  if (match) {
629
629
  const value = match[1].trim().replace(/^["']|["']$/g, "");
630
630
  if (value.length > 0) return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azdo-cli",
3
- "version": "0.10.0-develop.507",
3
+ "version": "0.10.0-develop.512",
4
4
  "description": "Azure DevOps CLI tool",
5
5
  "type": "module",
6
6
  "bin": {