Skip to content

Commit 2e1f464

Browse files
Trims API key to remove any trailing space or new lines. (#278)
1 parent ae5a762 commit 2e1f464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ before(() => {
5050
}
5151

5252
try {
53-
apiKey = fs.readFileSync(path.join(__dirname, '../resources/apikey.txt')).toString();
53+
apiKey = fs.readFileSync(path.join(__dirname, '../resources/apikey.txt')).toString().trim();
5454
} catch (error) {
5555
console.log(chalk.red(
5656
'The integration test suite requires an API key for a ' +

0 commit comments

Comments
 (0)