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.
- package/dist/index.js +1 -1
- 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
|
|
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;
|