Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slightly changed error messages #24

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TaskObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class TaskObject {

/** @type {TaskObjectError} */
const error = {
message: `asset does not exist for target and createObjects is false`,
message: `Asset does not exist for target and createObjects is false`,
target: parsedResult.target,
sourceRef: parsedResult.sourceRef
}
Expand Down Expand Up @@ -200,7 +200,7 @@ export default class TaskObject {
addItemToMapArrayValue(taskAsset.checklists, checklist.benchmarkId, checklist)
}
else {
checklist.ignored = `Not mapped to Asset and I can't change that`
checklist.ignored = `STIG not assigned to Asset and createObjects is false.`
taskAsset.checklistsIgnored.push(checklist)
}
}
Expand Down