We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_bash-it-component-cache-file()
1 parent 07674f2 commit e61622eCopy full SHA for e61622e
lib/utilities.bash
@@ -84,9 +84,10 @@ function _bash-it-component-help()
84
cat "${file}"
85
}
86
87
-_bash-it-component-cache-file() {
88
- local component="$(_bash-it-pluralize-component "${1}")"
89
- local file="${BASH_IT}/tmp/cache/${component}"
+function _bash-it-component-cache-file() {
+ local component file
+ component="$(_bash-it-pluralize-component "${1}")"
90
+ file="${BASH_IT}/tmp/cache/${component}"
91
[[ -f "${file}" ]] || mkdir -p "${file%/*}"
92
printf '%s' "${file}"
93
0 commit comments