There was an error while loading. Please reload this page.
1 parent a44f72d commit 7b65282Copy full SHA for 7b65282
1 file changed
24-Create-Node-JS-Command-Line-Tools/02-list/index.js
100644
100755
@@ -1,3 +1,6 @@
1
+#!/usr/bin/env node
2
+// Allow us to run it like an executable
3
+
4
const fs = require('fs')
5
6
fs.readdir(process.cwd(), (err, filenames) => {
0 commit comments