@rigour-labs/core 2.4.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gates/ast.js +1 -1
- package/package.json +1 -1
- package/src/gates/ast.ts +1 -1
package/dist/gates/ast.js
CHANGED
|
@@ -18,7 +18,7 @@ export class ASTGate extends Gate {
|
|
|
18
18
|
async run(context) {
|
|
19
19
|
const failures = [];
|
|
20
20
|
const patterns = (context.patterns || ['**/*.{ts,js,tsx,jsx,py,go,rs,cs,java,rb,c,cpp,php,swift,kt}']).map(p => p.replace(/\\/g, '/'));
|
|
21
|
-
const ignore = (context.ignore || ['node_modules/**', 'dist/**', 'build/**', '**/*.test.*', '**/*.spec.*', '**/__pycache__/**']).map(p => p.replace(/\\/g, '/'));
|
|
21
|
+
const ignore = (context.ignore || ['**/node_modules/**', '**/dist/**', '**/build/**', '**/*.test.*', '**/*.spec.*', '**/__pycache__/**']).map(p => p.replace(/\\/g, '/'));
|
|
22
22
|
const normalizedCwd = context.cwd.replace(/\\/g, '/');
|
|
23
23
|
// Find all supported files
|
|
24
24
|
const files = await globby(patterns, {
|
package/package.json
CHANGED
package/src/gates/ast.ts
CHANGED
|
@@ -22,7 +22,7 @@ export class ASTGate extends Gate {
|
|
|
22
22
|
const failures: Failure[] = [];
|
|
23
23
|
|
|
24
24
|
const patterns = (context.patterns || ['**/*.{ts,js,tsx,jsx,py,go,rs,cs,java,rb,c,cpp,php,swift,kt}']).map(p => p.replace(/\\/g, '/'));
|
|
25
|
-
const ignore = (context.ignore || ['node_modules/**', 'dist/**', 'build/**', '**/*.test.*', '**/*.spec.*', '**/__pycache__/**']).map(p => p.replace(/\\/g, '/'));
|
|
25
|
+
const ignore = (context.ignore || ['**/node_modules/**', '**/dist/**', '**/build/**', '**/*.test.*', '**/*.spec.*', '**/__pycache__/**']).map(p => p.replace(/\\/g, '/'));
|
|
26
26
|
const normalizedCwd = context.cwd.replace(/\\/g, '/');
|
|
27
27
|
|
|
28
28
|
// Find all supported files
|