Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.1 #120

Merged
merged 13 commits into from
Jun 14, 2024
Merged
4 changes: 2 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Code Analysis
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '*'
Expand All @@ -14,7 +14,7 @@ jobs:
name: scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "texas-dps-scheduler",
"version": "2.2.0",
"version": "2.2.1",
"description": "Texas DPS Automatic Scheduler",
"main": "dist/index.js",
"scripts": {
Expand All @@ -20,16 +20,16 @@
},
"homepage": "https://github.com/phamleduy04/texas-dps-scheduler#readme",
"devDependencies": {
"@eslint/create-config": "^1.1.1",
"@eslint/create-config": "^1.1.4",
"@types/ms": "^0.7.34",
"@types/node": "^20.12.12",
"@types/node": "^20.14.2",
"@types/prompts": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
Expand All @@ -40,9 +40,9 @@
"js-yaml": "^4.1.0",
"p-queue": "6.6.2",
"prompts": "^2.4.2",
"tslib": "^2.6.2",
"undici": "^6.18.1",
"yaml": "^2.4.2",
"tslib": "^2.6.3",
"undici": "^6.18.2",
"yaml": "^2.4.5",
"zod": "^3.23.8"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sonar.projectKey=phamleduy04_texas-dps-scheduler_AYe8IhBbv36W27jo1CFw
sonar.projectKey=phamleduy04_texas-dps-scheduler_b3fbdf43-d41e-4b47-b2c2-5697eaa25892
4 changes: 3 additions & 1 deletion src/Client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ class TexasScheduler {
}
log.info(
`${location.Name} is not Available in ${
locationConfig.sameDay ? 'the same day' : `around ${locationConfig.daysAround.start}-${locationConfig.daysAround.end} days from today! `
locationConfig.sameDay
? 'the same day'
: `around ${locationConfig.daysAround.start}-${locationConfig.daysAround.end} days from ${this.config.location.daysAround.startDate}!`
} `,
);

Expand Down
Loading