Skip to content

Commit d93faa9

Browse files
committed
Merge branch 'main' into tests
2 parents 947c599 + 6d6def1 commit d93faa9

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ documentation, we greatly value feedback and contributions from our community.
66
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
77
information to effectively respond to your bug report or contribution.
88

9+
## Building the Entrypoint File
10+
11+
The file that Github reads is `lib/index.js`. This is an autogenerated file built from the files found in `src`. To build the entrypoint file, run `npm run build` after all changes in `src` have been made.
12+
913

1014
## Reporting Bugs/Feature Requests
1115

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ jobs:
101101
excluded-expressions: "[ TypeScript | Java | Python ]"
102102
```
103103
104+
105+
## Contributing
106+
107+
We welcome community contributions and pull requests. See [CONTRIBUTING.md](./CONTRIBUTING.md) for information on how to contribute to this project
108+
104109
## Security
105110
106111
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.

lib/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28149,7 +28149,10 @@ class Issue {
2814928149
this.bodyIssueWords = body.split(/ |\(|\)|\./);
2815028150
}
2815128151
this.parameters = JSON.parse(core.getInput("parameters", { required: true }));
28152-
this.defaultArea = JSON.parse(core.getInput("default-area", { required: false }));
28152+
const defaultAreaInput = core.getInput("default-area", { required: false });
28153+
if (defaultAreaInput) {
28154+
this.defaultArea = JSON.parse(defaultAreaInput);
28155+
}
2815328156
this.similarity = +core.getInput("similarity", { required: false });
2815428157
this.bodyValue = +core.getInput("body-value", { required: false });
2815528158
}

0 commit comments

Comments
 (0)