SetIgnoreShellMismatch is used to disable the shell comparison when checking if the state is up to date. This is useful when we don't load shellrc (e.g. running)
(ignore bool)
| 51 | // SetIgnoreShellMismatch is used to disable the shell comparison when checking |
| 52 | // if the state is up to date. This is useful when we don't load shellrc (e.g. running) |
| 53 | func SetIgnoreShellMismatch(ignore bool) { |
| 54 | ignoreShellMismatch = ignore |
| 55 | } |
| 56 | |
| 57 | func isStateUpToDate(args UpdateStateHashFileArgs) (bool, error) { |
| 58 | filesystemStateHash, err := readStateHashFile(args.ProjectDir) |