From 1b04a6d1b32c0a56fb70473a0f35e58a63f8f63e Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 19 Dec 2017 20:06:07 +0100 Subject: [PATCH] Fix typo --- nix/node-env.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/node-env.nix b/nix/node-env.nix index 9a43579..15bc6c6 100644 --- a/nix/node-env.nix +++ b/nix/node-env.nix @@ -209,7 +209,7 @@ let var packageJSONDir = path.join(baseDir, "node_modules", dependencyName); var packageJSONPath = path.join(packageJSONDir, "package.json"); - if(fs.existsSync(packageJSONPath)) { // Only augment packages that exist. Sometimes we may have prdduction installs in which development dependencies can be ignored + if(fs.existsSync(packageJSONPath)) { // Only augment packages that exist. Sometimes we may have production installs in which development dependencies can be ignored console.log("Adding metadata fields to: "+packageJSONPath); var packageObj = JSON.parse(fs.readFileSync(packageJSONPath));