Skip to content

Commit 0ad1702

Browse files
Merge pull request #13 from stackbithq/dotenv-fix
Move dotenv call to index.js
2 parents 3c955bf + cf0ca85 commit 0ad1702

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bin/sourcebit.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env node
2-
require("dotenv").config();
32
const commander = require("commander");
43
const sourcebit = require("../index");
54
const path = require("path");

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require("dotenv").config();
12
const Sourcebit = require("./lib/sourcebit");
23

34
module.exports.fetch = (config, runtimeParameters, transformCallback) => {

0 commit comments

Comments
 (0)