| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Can you add a test ? |
Sorry, something went wrong.
There was a problem hiding this comment.
Can you add a test ?
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
@targos I don't think we can reliably test this because this requires accessing something that we are not supposed to access in the snapshot i.e. before the test is run. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Delay access at run time otherwise the value is captured at build time and always false.
Sorry, something went wrong.
| function emitRecursiveRmdirWarning() { | ||
| if (recursiveRmdirWarned === undefined) { | ||
| // TODO(joyeecheung): use getOptionValue('--no-deprecation') instead. | ||
| recursiveRmdirWarned = process.noDeprecation; |
There was a problem hiding this comment.
recursiveRmdirWarned = recursiveRmdirWarned || process.noDeprecation;
Sorry, something went wrong.
There was a problem hiding this comment.
I think that would make the code harder to understand when we are lazily initializing a boolean.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Delay access at run time otherwise the value is captured at build time and always false. PR-URL: #51447 Reviewed-By: Jithil P Ponnan <jithil@outlook.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Delay access at run time otherwise the value is captured at build time and always false. PR-URL: #51447 Reviewed-By: Jithil P Ponnan <jithil@outlook.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Delay access at run time otherwise the value is captured at build time and always false. PR-URL: #51447 Reviewed-By: Jithil P Ponnan <jithil@outlook.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
| Back | FazBrowse Home | New Git URL |
Delay access at run time otherwise the value is captured at build time and always false.