aboutsummaryrefslogtreecommitdiff
path: root/node_modules/import-local/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/import-local/fixtures')
-rwxr-xr-xnode_modules/import-local/fixtures/cli.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/import-local/fixtures/cli.js b/node_modules/import-local/fixtures/cli.js
new file mode 100755
index 0000000..46b939f
--- /dev/null
+++ b/node_modules/import-local/fixtures/cli.js
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+'use strict';
+const importLocal = require('..');
+
+if (importLocal(__filename)) {
+ console.log('local');
+}