Skip to content

Commit

Permalink
Merge pull request #131 from ChubachiPT2024/feature/fix-absoulte-typo
Browse files Browse the repository at this point in the history
#126 変数名 Report.reportListFolderAbsoultePath を修正する
  • Loading branch information
a2311kk authored Jul 13, 2024
2 parents 1e352a2 + 4f070fe commit 1b554ce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('import', () => {
expect(report.courseId).toBe(27048)
expect(report.id).toBe(35677)
expect(report.title).toBe('個人レポート課題')
expect(report.reportListFolderAbsoultePath).toBe(
expect(report.reportListFolderAbsolutePath).toBe(
path.join(__dirname, 'reportListImportTestFiles')
)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class SubmissionFileApplicationService {
)

const reader = new SubmissionFileReader(
report.reportListFolderAbsoultePath,
report.reportListFolderAbsolutePath,
submission.folderRelativePath
)
const content = await reader.readAsync(command.fileName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class SubmissionSummaryApplicationService {
async (studentNumId) =>
await this.getSubmissionSummaryAsync(
report.id,
report.reportListFolderAbsoultePath,
report.reportListFolderAbsolutePath,
studentNumId
)
)
Expand Down
4 changes: 2 additions & 2 deletions src/domain/models/reports/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export class Report {
* @param courseId コース ID
* @param id ID
* @param title タイトル
* @param reportListFolderAbsoultePath レポートリストフォルダの絶対パス
* @param reportListFolderAbsolutePath レポートリストフォルダの絶対パス
*/
public constructor(
public readonly courseId: number,
public readonly id: number,
public readonly title: string,
public readonly reportListFolderAbsoultePath: string
public readonly reportListFolderAbsolutePath: string
) {}
}

0 comments on commit 1b554ce

Please sign in to comment.