Skip to content

Commit 5352c93

Browse files
committed
Make eslint happy
1 parent c5b3565 commit 5352c93

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/scripts/mixins/xapi.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ export default class XAPI {
5050
return definition;
5151
}
5252

53-
/**
53+
/**
5454
* Get tasks description.
5555
* @returns {string} Description.
5656
*/
57-
getXAPIDescription() {
58-
// The below replaceAll makes sure we don't get any unwanted XAPI_PLACEHOLDERs in the description
59-
const introduction = this.params.taskDescription
60-
.replaceAll(/_{10,}/gi, '_________') || DEFAULT_DESCRIPTION;
61-
const fields = this.content.getXAPIDescription();
62-
return `${introduction}${fields}`;
63-
}
57+
getXAPIDescription() {
58+
// The below replaceAll makes sure we don't get any unwanted XAPI_PLACEHOLDERs in the description
59+
const introduction = this.params.taskDescription
60+
.replaceAll(/_{10,}/gi, '_________') || DEFAULT_DESCRIPTION;
61+
const fields = this.content.getXAPIDescription();
62+
return `${introduction}${fields}`;
63+
}
6464
}

0 commit comments

Comments
 (0)