From f6f82b8e456dd7245a38430186aed27bfe141bc3 Mon Sep 17 00:00:00 2001 From: Huafu Gandon Date: Fri, 3 Aug 2018 17:23:10 +0200 Subject: [PATCH] fix: makes node 6 happy --- scripts/e2e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e.js b/scripts/e2e.js index a1ad049d81..d955a7edc8 100755 --- a/scripts/e2e.js +++ b/scripts/e2e.js @@ -24,7 +24,7 @@ function setupE2e() { fs.mkdirpSync(Paths.e2eWorkTemplateDir); // create the tempalte package from which node_modules will be originally copied from - fs.copyFileSync( + fs.copySync( path.join(Paths.e2eSourceDir, 'package-template.json'), path.join(Paths.e2eWorkTemplateDir, 'package.json') );