Remove dangling debuggers
This commit is contained in:
parent
e05b724742
commit
01ccbb3d92
3 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@ module.exports = {
|
||||||
rules: {
|
rules: {
|
||||||
'unused-imports/no-unused-imports': 'warn',
|
'unused-imports/no-unused-imports': 'warn',
|
||||||
'tsdoc/syntax': 'warn',
|
'tsdoc/syntax': 'warn',
|
||||||
|
'no-debugger': 'error',
|
||||||
|
|
||||||
'no-restricted-imports': [
|
'no-restricted-imports': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
|
|
|
@ -346,7 +346,6 @@ export function usePrismInstance<T>(der: Prism<T>, debugLabel?: string): T {
|
||||||
|
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
if (der !== ref.current.der) {
|
if (der !== ref.current.der) {
|
||||||
debugger
|
|
||||||
console.error(
|
console.error(
|
||||||
'Argument `der` in `usePrismInstance(der)` should not change between renders.',
|
'Argument `der` in `usePrismInstance(der)` should not change between renders.',
|
||||||
)
|
)
|
||||||
|
|
|
@ -90,7 +90,6 @@ describe(`SheetObjectTemplate`, () => {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
debugger
|
|
||||||
const iter = iterateOver(
|
const iter = iterateOver(
|
||||||
obj.template.getMapOfValidSequenceTracks_forStudio(),
|
obj.template.getMapOfValidSequenceTracks_forStudio(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue