You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/15 20:42:13 UTC

[GitHub] [cordova-android] breautek edited a comment on issue #693: Source and destination must not be the same.

breautek edited a comment on issue #693: Source and destination must not be the same.
URL: https://github.com/apache/cordova-android/issues/693#issuecomment-542395458
 
 
   I just received this error at work, it was trying to copy a file that was a symlink.
   
   Modifying the following line:
   
   https://github.com/apache/cordova-common/blob/cfa7b3e5f809bc046d109f0b1f98666058e46cd1/src/FileUpdater.js#L103
   
   To add the options parameter:
   
   ```json
   {
       "dereference": true
   }
   ```
   
   Fixed the problem for me.
   
   The `deference` option does:
   >dereference <boolean>: dereference symlinks, default is false.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org