Skip to content

Commit e79bfc7

Browse files
authored
Merge pull request #6 from jazzpeh/hotfix/1.0.2
Added missing escape characters for window credentials. This resolves #4
2 parents 1cff7b8 + fd5374b commit e79bfc7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
node_js: "8"
88
script: "yarn unit"
99
- stage: npm release
10+
if: branch = master AND type = push
1011
node_js: "8"
1112
script: echo "Deploying to npm ..."
1213
deploy:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-deploy-cli",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Easier way to deploy for web",
55
"main": "cli.js",
66
"scripts": {

util/aws.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const mime = require('mime-types')
99
* @enum {string}
1010
*/
1111
const CredentialsFilePath = {
12-
WINDOWS: `${os.homedir()}\.aws\credentials`,
12+
WINDOWS: `${os.homedir()}\\.aws\\credentials`,
1313
OSX: `${os.homedir()}/.aws/credentials`,
1414
LINUX: `${os.homedir()}/.aws/credentials`
1515
};

0 commit comments

Comments
 (0)