From 6b6c0848b5495df621ed431047ee9a51a3cb4250 Mon Sep 17 00:00:00 2001 From: arve0 Date: Fri, 4 Aug 2017 21:05:35 +0200 Subject: [PATCH] ignore .DS_Store files on mac os x --- .gitignore | 1 + benchmark/benchmark.js | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b02f491..a1e1aa4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ coverage/ demo/ apidoc/ *.log +.DS_Store diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 6fe04ae..201da83 100755 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -16,6 +16,7 @@ var IMPLS = []; fs.readdirSync(IMPLS_DIRECTORY).sort().forEach(function (name) { + if (name === '.DS_Store') { return; } var file = path.join(IMPLS_DIRECTORY, name); var code = require(file);