You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/11 08:08:14 UTC

[incubator-echarts-examples] branch next updated: cd back to current folder after installed packages

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git


The following commit(s) were added to refs/heads/next by this push:
     new eee4b74  cd back to current folder after installed packages
eee4b74 is described below

commit eee4b741bf40c3d631cf6894c225f59d4c54709a
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Jan 11 16:07:17 2021 +0800

    cd back to current folder after installed packages
---
 e2e/main.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/e2e/main.js b/e2e/main.js
index 8b2b335..4c7ac16 100644
--- a/e2e/main.js
+++ b/e2e/main.js
@@ -198,12 +198,14 @@ async function installPackages(config) {
         publishPackage(pkg);
     };
 
-    // Come back.
     shell.cd(__dirname);
     for (let pkg of config.packages) {
         console.log(chalk.gray(`Installing ${pkg.name}`))
         shell.exec(`npm install ${publishedPackages[pkg.name]}`);
     }
+
+    // Come back.
+    shell.cd(process.cwd());
 }
 
 async function buildRunCode() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org