mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Created SC1092 (markdown)
21
SC1092.md
Normal file
21
SC1092.md
Normal file
@@ -0,0 +1,21 @@
|
||||
## Stopping at 100 'source' frames :O
|
||||
|
||||
### Problematic code:
|
||||
|
||||
An initial file sourcing a second file, which in turn sources a third file, which in turn sources a fourth file, ...., which in turn sources a 100th file.
|
||||
|
||||
### Correct code:
|
||||
|
||||
Anything but that.
|
||||
|
||||
### Rationale:
|
||||
|
||||
ShellCheck found a chain of 100+ files sourcing each other. It assumed there must be some internal bug, so it stopped.
|
||||
|
||||
### Exceptions:
|
||||
|
||||
If this is intentional, you can cosmetically [[ignore]] this message.
|
||||
|
||||
### Related resources:
|
||||
|
||||
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!
|
Reference in New Issue
Block a user