Neil Lovelace : I just cleared the checkpoint log. You can replay.
Dylan Sather (Pipedream) : would you mind clearing once more? Had to make one more small change
Neil Lovelace : Done.
Neil Lovelace : I see that it says my filePath isn’t valid. I’m also seeing where Sergio’s example shows writeFileSync with buffer information. Is that required?
Dylan Sather (Pipedream) : Your syntax there is right, but do you see where you’ve defined filePath
? You mentioned a potential scoping issue before - do you see the problem?
Dylan Sather (Pipedream) : also, can you reset your checkpoint once more?
Dylan Sather (Pipedream) : FYI I think we’re clobbering each others’ changes. If you don’t mind, please refresh to get the latest state before you make another edit.
Neil Lovelace : Checkpoint has been reset.
I’m not seeing anything that is jumping out at me.
I haven’t changed anything since you started editing for this reason.
Neil Lovelace : OHHH… It looks like I’ve put some variables outside of the function… S.O.B.
Dylan Sather (Pipedream) : no worries, I think it may have been an accidental deploy - the changes I made unfortunately got lost but I recovered.
Neil Lovelace : I just placed the rogue code inside the download() function.
Dylan Sather (Pipedream) : great. My changes got clobbered again haha
Dylan Sather (Pipedream) : give me just a moment
Neil Lovelace : Sorry Dylan. I’m not touching anything else.
Dylan Sather (Pipedream) : no worries. Let me explain to make the issue a little more clear. If you make a change to the workflow, you apply all of the code on your version. Since your browser has the code at the state of your last edit, it’ll actually overwrite any changes I make. We definitely need to make the “multiplayer” experience better here
Neil Lovelace : Understood. I’m hands off until you ask me to do something.
Dylan Sather (Pipedream) : would you mind refreshing your browser now? That’ll give you the latest version of the code I just pushed
Dylan Sather (Pipedream) : then if you can clear your checkpoint again, I’ll run another test request
Neil Lovelace : Done (seeing v.86) and done.
Neil Lovelace : Line 69 is calling the function download(…).