Skip to content

Commit

Permalink
Replaced concatenated strings with template literals in the test/conf…
Browse files Browse the repository at this point in the history
…ig.js (#36)

updates: haraka/Haraka#2129
  • Loading branch information
PSSGCSim authored and msimerson committed Sep 30, 2017
1 parent fd2dfba commit 2c953aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ function clearRequireCache () {
// changes affect other tests. Icky. Work around by invalidating
// the require cache, so config and configfile re-initialize
delete require.cache[
path.resolve(__dirname, '..','config') + '.js'
`${path.resolve(__dirname, '..','config')}.js`
];
delete require.cache[
path.resolve(__dirname, '..','configfile') + '.js'
`${path.resolve(__dirname, '..','configfile')}.js`
];
}

Expand Down

0 comments on commit 2c953aa

Please sign in to comment.