[Pkg-javascript-commits] [node-coveralls] 115/332: OK so Travis behaves WEIRDLY on writeFileSync with explicit utf8, let's try with implicit

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit a639b7dcb280f3b1ab6c8357fb3c8b9057543e79
Author: Christophe Porteneuve <tdd at tddsworld.com>
Date:   Fri Nov 15 09:33:25 2013 +0100

    OK so Travis behaves WEIRDLY on writeFileSync with explicit utf8, let's try with implicit
---
 test/getOptions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list