mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°7331 - Remove "example" (single) as well
This commit is contained in:
@@ -31,7 +31,7 @@ abstract class AbstractHook
|
||||
* @since 3.2.0 N°7175 update regexp to also remove `examples` folder
|
||||
* @link https://www.regular-expressions.info/alternation.html RegExp alternation reference
|
||||
*/
|
||||
public const QUESTIONNABLE_FOLDER_REGEXP = '/^(tests?|examples|htdocs?|demos?|external)$/i';
|
||||
public const QUESTIONNABLE_FOLDER_REGEXP = '/^(tests?|examples?|htdocs?|demos?|external)$/i';
|
||||
|
||||
/**
|
||||
* @return string Absolute path to the root folder of the dependencies (composer, npm, ...)
|
||||
|
||||
@@ -81,6 +81,7 @@ class iTopNPM extends AbstractHook
|
||||
$APPROOT_WITH_SLASHES . '/select/test',
|
||||
$APPROOT_WITH_SLASHES . '/selectize-plugin-a11y/examples',
|
||||
$APPROOT_WITH_SLASHES . '/tiny-emitter/test',
|
||||
$APPROOT_WITH_SLASHES . '/toastify-js/example',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user