Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
use node_modules by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xortive committed Feb 25, 2021
1 parent f0e3027 commit ff568a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getBinary = () => {
const useCwd = !!process.env.WRANGLER_USE_CWD;
const customPath = process.env.WRANGLER_INSTALL_PATH;
const altPath = useCwd ? process.cwd() : !!customPath ? customPath : false;
const installDirectory = join(altPath || os.homedir(), ".wrangler");
const installDirectory = join(altPath || __dirname, ".wrangler");
return new Binary(url, { name: "wrangler", installDirectory });
};

Expand Down

0 comments on commit ff568a5

Please sign in to comment.