cloudfoundry/cloud_controller_ng

View on GitHub
scripts/find_error

Summary

Maintainability
Test Coverage

Not following: /var/vcap/jobs/cloud_controller_ng/bin/ruby_version.sh: openFile: does not exist (No such file or directory)
Open

source /var/vcap/jobs/cloud_controller_ng/bin/ruby_version.sh
Severity: Minor
Found in scripts/find_error by shellcheck

Not following: (error message here)

Reasons include: file not found, no permissions, not included on the command line, not allowing shellcheck to follow files with -x, etc.

Problematic code:

source somefile

Correct code:

# shellcheck disable=SC1091
source somefile

Rationale:

ShellCheck, for whichever reason, is not able to access the source file.

This could be because you did not include it on the command line, did not use shellcheck -x to allow following other files, don't have permissions or a variety of other problems.

Feel free to ignore the error with a [[directive]].

Exceptions:

If you're fine with it, ignore the message with a [[directive]].

Notice

Original content from the ShellCheck https://github.com/koalaman/shellcheck/wiki.

There are no issues that match your filters.

Category
Status