You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2020/03/30 15:21:48 UTC

[cordova-app-hello-world] branch master updated: refactor: transform var to let/const (#60)

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

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-app-hello-world.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e22d2f  refactor: transform var to let/const (#60)
1e22d2f is described below

commit 1e22d2fb4ff76953c31d14676e10b80ce08aa75d
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Tue Mar 31 00:21:38 2020 +0900

    refactor: transform var to let/const (#60)
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index a5ebbea..8c22003 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@
 // Entry point is needed so that the module could be required.
 // The module dir path will be needed to copy resources from it.
 
-var path = require('path');
+const path = require('path');
 
 module.exports = {
     dirname: path.join(__dirname, 'template_src')


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