Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
細かい修正
Browse files Browse the repository at this point in the history
  • Loading branch information
proshunsuke committed Mar 12, 2021
1 parent abfee5d commit ae70c41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const TARGET_DATE_KEY = 'target_date';
const TARGET_SITE_NAME_KEY = 'site_name';
export const TERMINATION_MINUTES = 4;
const TRIGGER_FUNCTION_NAME = 'setSchedule';
const TRIGGER_DURATION: number = 60 * 1000; // 1分後
const TRIGGER_DURATION: number = 60 * 2000; // 2分後

export default class Trigger {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/sites/keyakizaka/keyakiSiteSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export default class KeyakiSiteSchedule extends SiteSchedule {

// eslint-disable-next-line class-methods-use-this
siteName(): string {
return 'keyakizakai';
return 'keyakizaka';
}
}
2 changes: 1 addition & 1 deletion src/sites/sakurazaka/sakuraSiteSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export default class SakuraSiteSchedule extends SiteSchedule {

// eslint-disable-next-line class-methods-use-this
siteName(): string {
return 'sakurazakai';
return 'sakurazaka';
}
}
2 changes: 1 addition & 1 deletion src/sites/siteSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default abstract class SiteSchedule implements SiteScheduleInterface {
console.info(
`${TERMINATION_MINUTES}分以上経過したので次のトリガーをセットして終了します。次実行開始する月: ${targetBeginningOfMonth.format(
'YYYY-MM-DD'
)}`
)}, 次実行するサイト: ${this.siteName()}`
);
return;
}
Expand Down

0 comments on commit ae70c41

Please sign in to comment.