Closed rektide closed 11 years ago
From the tail of my strace -f -e trace=file grunt:
strace -f -e trace=file grunt
stat("~/.ssh/chrome-apps.pem", 0x7fff25cec6d0) = -1 ENOENT (No such file or directory)
yet:
ls ~/.ssh/chrome-apps.pem -l -rwx------ 1 rektide rektide 1090 2013-03-06 22:20:14 -0500 /home/rektide/.ssh/chrome-apps.pem*
The ~ in the privateKey option needs to be converted into the users home directory. Opening a file with ~ in it does not work.
Hi, this means that ~ is not resolved by grunt filepath expand library.
~
I've quickly digged into and I can't find the user dir in any documentation.
Will be available in 0.2.1 in a couple of minutes then :-)
0.2.1
From the tail of my
strace -f -e trace=file grunt
:stat("~/.ssh/chrome-apps.pem", 0x7fff25cec6d0) = -1 ENOENT (No such file or directory)
yet:
ls ~/.ssh/chrome-apps.pem -l -rwx------ 1 rektide rektide 1090 2013-03-06 22:20:14 -0500 /home/rektide/.ssh/chrome-apps.pem*
The ~ in the privateKey option needs to be converted into the users home directory. Opening a file with ~ in it does not work.