Created
August 11, 2019 13:04
-
-
Save cleverca22/170d018d6d70768554c96d8ddb0605da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~/iohk/yarn2nix]$ git diff | |
diff --git a/bin/yarn2nix.js b/bin/yarn2nix.js | |
index 6213edb..2c02614 100755 | |
--- a/bin/yarn2nix.js | |
+++ b/bin/yarn2nix.js | |
@@ -129,6 +129,7 @@ Promise.all(pkgs.map(updateResolvedSha1)).then(() => { | |
if (newData != data) { | |
console.error("found changes in the lockfile", options["--lockfile"]); | |
+ fs.writeFileSync("output.txt", newData); | |
if (options["--no-patch"]) { | |
console.error("...aborting"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment