Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 24, 2020
1 parent 9c4e860 commit 63ebdb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integrationTests/ts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const path = require('path');
const childProcess = require('child_process');
const assert = require('assert');
const fs = require('fs');

const glob = require('glob');
const semver = require('semver');

Expand Down Expand Up @@ -38,9 +39,9 @@ const templates = glob.sync('./*.ts.template').map((filename) => {
const finalContent = content.replace(regex, (_, versionRange, payload) => {
if (semver.satisfies(version, versionRange)) {
return payload;
} else {
}
return '';
}

});
fs.writeFileSync(targetFilename, finalContent);
};
Expand Down

0 comments on commit 63ebdb4

Please sign in to comment.