mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #3114 from overleaf/msm-remove-logger-warn-controllers
Replaced logger statements with error tagging in Controllers GitOrigin-RevId: c5231913c82f95a325f4c3ab406d89cb534835a4
This commit is contained in:
@@ -3,7 +3,6 @@ npx jscodeshift \
|
||||
-t transform/o-error/transform.js \
|
||||
--ignore-pattern=frontend/js/libraries.js \
|
||||
--ignore-pattern=frontend/js/vendor \
|
||||
--ignore-pattern=**/*Controller*js \
|
||||
$1
|
||||
# replace blank lines in staged changed with token
|
||||
git diff --ignore-all-space --ignore-blank-lines | sed 's/^\+$/\+REMOVE_ME_IM_A_BLANK_LINE/g' | git apply --reject --cached --ignore-space-change
|
||||
|
||||
Reference in New Issue
Block a user