diff options
| author | Christophe Porteneuve <[email protected]> | 2013-11-15 09:33:25 +0100 |
|---|---|---|
| committer | Christophe Porteneuve <[email protected]> | 2013-11-15 09:33:25 +0100 |
| commit | a639b7dcb280f3b1ab6c8357fb3c8b9057543e79 (patch) | |
| tree | 97bf43b178f0f21b168c10474afbae7627ecc652 /test | |
| parent | dd9958c8ce913503d11f86ff4c80449b6ec16cf8 (diff) | |
| download | node-coveralls-a639b7dcb280f3b1ab6c8357fb3c8b9057543e79.tar.xz node-coveralls-a639b7dcb280f3b1ab6c8357fb3c8b9057543e79.zip | |
OK so Travis behaves WEIRDLY on writeFileSync with explicit utf8, let's try with implicit
Diffstat (limited to 'test')
| -rw-r--r-- | test/getOptions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/getOptions.js b/test/getOptions.js index ebb725d..0639a3c 100644 --- a/test/getOptions.js +++ b/test/getOptions.js @@ -204,7 +204,7 @@ var testRepoTokenDetection = function(sut, done) { token = yaml.eval(fs.readFileSync(yml, 'utf8')).repo_token; } else { token = 'REPO_TOKEN'; - fs.writeFileSync(file, 'repo_token: ' + token, { encoding: 'utf8' }); + fs.writeFileSync(file, 'repo_token: ' + token); synthetic = true; } sut(function(err, options) { |
