@windyroad/itil 0.60.0-preview.1030 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -253,8 +253,13 @@ run_check() { run bash "$CHECK" docs/stories/draft/STORY-901-a-story.md \
|
|
|
253
253
|
@test "no shipped installer or scaffold writes an opt-in value" {
|
|
254
254
|
# The guard that keeps opt-in from becoming opt-out-by-stealth. Any shipped
|
|
255
255
|
# code that WRITES this key would defeat the split; reading it is fine.
|
|
256
|
-
cd "$(dirname "$CHECK")
|
|
257
|
-
|
|
256
|
+
cd "$(dirname "$CHECK")/.."
|
|
257
|
+
# Guard the search roots. Pointed at a directory that does not exist, grep
|
|
258
|
+
# matches nothing and the assertion below passes for the wrong reason — and
|
|
259
|
+
# whether it passes at all then depends on which grep merges its warning into
|
|
260
|
+
# bats' $output.
|
|
261
|
+
[ -d bin ] && [ -d hooks ]
|
|
262
|
+
run grep -rIlE 'afk_accept_pure_decomposition' --include='*.mjs' --include='*.js' bin/ hooks/
|
|
258
263
|
[ -z "$output" ]
|
|
259
264
|
}
|
|
260
265
|
|