We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc92fe3 + 42edd24 commit 8fcb681Copy full SHA for 8fcb681
lib/transports/ScpTransport.coffee
@@ -13,8 +13,9 @@ class ScpTransport
13
@connection = null
14
15
upload: (localFilePath, callback) ->
16
+ fs = require "fs" if not fs
17
targetFilePath = path.join(@settings.target,
- path.relative(@projectPath, localFilePath))
18
+ path.relative(fs.realpathSync(@projectPath), fs.realpathSync(localFilePath)))
19
.replace(/\\/g, "/")
20
21
errorHandler = (err) =>
0 commit comments