Skip to content

Commit

Permalink
bugfix empty condition (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttymsd authored Jun 6, 2023
1 parent ca35059 commit 43cb539
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function readCrashlyticsReportTable(config) {
projectId: config.gcpProjectId
});
targetDate = core.getInput('target_date');
if (targetDate !== undefined) {
if (targetDate !== '') {
placeHolder = '@targetDate';
}
else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crashlytics-analysis",
"version": "1.2.0",
"version": "1.2.1",
"description": "",
"scripts": {
"prepublish": "tsc -p tsconfig.json",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function readCrashlyticsReportTable (config: CrashlyticsConfig): Promise<C

const targetDate = core.getInput('target_date')
let placeHolder: string
if (targetDate !== undefined) {
if (targetDate !== '') {
placeHolder = '@targetDate'
} else {
// 実行時の関係で昨日のimportされてないケースがある
Expand Down

0 comments on commit 43cb539

Please sign in to comment.