Skip to content

refactor: finalize data structure #7

refactor: finalize data structure

refactor: finalize data structure #7

Triggered via push December 10, 2023 21:50
Status Failure
Total duration 23s
Artifacts

nodejs.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
build (21.1.0): bin/bot.js#L10
'welcomeMessage' is not defined
build (21.1.0): bin/bot.js#L14
'diet' is not defined
build (21.1.0): src/database.js#L4
'shopDepartments' is assigned a value but never used
build (21.1.0): src/database.js#L207
'restoreBasicCookbook' is assigned a value but never used
build (21.1.0): src/index.js#L1
Unexpected use of file extension "js" for "./database.js"
build (21.1.0): src/index.js#L17
'fullName' is defined but never used
build (21.1.0): src/index.js#L27
'getRandomRecipe' is assigned a value but never used
build (21.1.0): src/index.js#L44
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
build (21.1.0): src/index.js#L68
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
build (21.1.0): src/index.js#L68
for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array
build (21.1.0): src/index.js#L81
Unexpected console statement
build (21.1.0): src/index.js#L82
Unexpected console statement
build (21.1.0): src/index.js#L83
Unexpected console statement
build (21.1.0): src/index.js#L106
Unexpected console statement