Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldodge79 committed Mar 22, 2021
1 parent 535b5f9 commit 18ab355
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Mocha All",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--recursive",
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"-g",
"detectReleaseVersionFromTitle impl: base",
"${workspaceFolder}/test/**/*.ts",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
}
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"js-yaml": "^4.0.0",
"parse-github-repo-url": "^1.4.1",
"semver": "^7.0.0",
"ts-node": "^9.1.1",
"type-fest": "^0.21.0",
"typescript": "^3.8.3",
"unist-util-visit": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class GitHub {
baseUrl: this.apiUrl,
headers: {
'user-agent': `${RELEASE_PLEASE}/${
require('../../package.json').version
require('../package.json').version
}`,
Authorization: `token ${this.token}`,
},
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"outDir": "build",
"typeRoots": ["./typings", "./node_modules/@types"]
},
"ts-node": {
"files": true
},
"include": [
"typings/**/*.d.ts",
"src/**/*.ts",
Expand Down

0 comments on commit 18ab355

Please sign in to comment.