Skip to content

Commit b93f87e

Browse files
committed
License test fix for Windows
1 parent 0c390a7 commit b93f87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/license-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('All source files', function() {
4646
const candidateRE = /.*\.(js|ts)$/;
4747
// List of directories to ignore, this may not be comprehensive depending on your local workspace.
4848
const dirsToIgnoreRE = /(node_modules)|(\.git)|(\.idea)|(coverage)|(out)|(examples)/;
49-
const filesToIgnoreRE = /(\/test\/unit\/typescript\/.*\.js)|(integer\.js)|(generated\.(?:js|ts))|(\/lib\/datastax\/graph\/(?:graph-serializer|type-serializers)\.js)/;
49+
const filesToIgnoreRE = /([\\/]test[\\/]unit[\\/]typescript[\\/].*\.js)|(integer\.js)|(generated\.(?:js|ts))|(lib[\\/]datastax[\\/]graph[\\/](?:graph-serializer|type-serializers)\.js)/;
5050

5151
function validateLicenses(dir) {
5252
fs.readdirSync(dir).forEach(function(file) {

0 commit comments

Comments
 (0)