Skip to content

Commit

Permalink
Fix missing file & lint fix on windows (#41)
Browse files Browse the repository at this point in the history
* Fix missing file

* Change files
  • Loading branch information
dannyvv authored Sep 11, 2024
1 parent b5a5c00 commit bc3533c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
18 changes: 18 additions & 0 deletions change/change-16bf9050-b2cf-435e-a642-6ad01b2d3544.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"changes": [
{
"type": "patch",
"comment": "Linting fixes",
"packageName": "ado-npm-auth",
"email": "[email protected]",
"dependentChangeType": "patch"
},
{
"type": "patch",
"comment": "Fix missing file",
"packageName": "azureauth",
"email": "[email protected]",
"dependentChangeType": "patch"
}
]
}
12 changes: 5 additions & 7 deletions packages/ado-npm-auth/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,13 @@ run(args)
// automatic auth failed (for some reason)
// advertise failure and link wiki to fix
console.log("❌ Authentication to package feed failed.");

process.exitCode = 1;
}
})
.catch((error) => {
console.error(error);
console.log("❌ Authentication to package feed failed.");

process.exitCode = 1;
})

console.error(error);
console.log("❌ Authentication to package feed failed.");

process.exitCode = 1;
});
3 changes: 2 additions & 1 deletion packages/node-azureauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"files": [
"dist/install.cjs",
"dist/cli.js",
"dist/index.js"
"dist/index.js",
"scripts/install.cjs"
],
"keywords": [
"node",
Expand Down

0 comments on commit bc3533c

Please sign in to comment.