Last active
January 7, 2018 18:58
-
-
Save kevinchisholm/30a4291eb829332c26ff4862a3979136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let tools = require('./tools/tools'); | |
let subTools = require('./tools/subTools/subTools'); | |
//show directories (A) | |
console.log('A: process.cwd() -> ' + process.cwd()); | |
console.log('A: __dirname -> ' + __dirname); | |
//show directories (B) | |
tools.showDirectories(); | |
//show directories (C) | |
subTools.showDirectories(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.showDirectories = function () { | |
//show directories (C) | |
console.log('C -> process.cwd() -> ' + process.cwd()); | |
console.log('C -> __dirname -> ' + __dirname); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.showDirectories = function () { | |
//show directories (B) | |
console.log('B -> process.cwd() -> ' + process.cwd()); | |
console.log('B -> __dirname -> ' + __dirname); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment