Read the statement by Michael Teeuw here.
Module to Display JSON data from a FILE
-
@sdetweil Oh, in “a forum” was relative to another forum, this is the first time, in a long time, i’ve used this forum. HERE has been great every time so far, sorry for the misunderstanding.
-
@mhr320 the author accepted my change request
so you could go to the old folder (if you just renamed it) and git pull to get the update
then swap(rename) the folders and retry with his code again
and then delete mine -
Whoa, that was fast on both of your parts. I went to his github page and saw several old open “issues” i figured he’d be asleep on the project, but wow! It worked, great job sir! I really look forward to my next issue.
-
Thanks for the PR
Just approved the it, it did fail some prittier checks that I’ll fix later
Hope you’ll find it usefull over here! -
@timdows you should add a git pre-commit hook to run prettier for whoever…
here is mine
.pre-commit#!/bin/sh FILES=$(git diff --cached --name-only --diff-filter=ACMR "*.js" "*.jsx *.json" | sed 's| |\\ |g') [ -z "$FILES" ] && exit 0 # Prettify all selected files echo "$FILES" | xargs ./node_modules/.bin/prettier --write # Add back the modified/prettified files to staging echo "$FILES" | xargs git add exit 0
and an npm postinstall script to copy to the git folder
#!/bin/bash #echo copying git pre-commit hook cp .pre-commit .git/hooks
package.json
"scripts": { "postinstall":"whatever you call it"