Browse Source

Linebreak fix

tags/v1.4.4
Ivan Bravo Bravo 7 months ago
parent
commit
23b0427fc1
2 changed files with 14 additions and 3 deletions
  1. 12
    1
      .gitattributes
  2. 2
    2
      src/scripts/release.js

+ 12
- 1
.gitattributes View File

@@ -1 +1,12 @@
* text eol=lf
* text=auto

*.js text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.vue text eol=lf

*.png binary
*.jpg binary
*.ico binary
*.icns binary
*.mp4 binary

+ 2
- 2
src/scripts/release.js View File

@@ -197,7 +197,7 @@ async function uploadToInfura(filepath, filename) {
maxBodyLength: Infinity,
})

response = response.data
response = JSON.parse(response.data.trim())

console.log('INFURA:', cryptr.encrypt(response.Hash || JSON.stringify(response)))

@@ -226,7 +226,7 @@ async function uploadToDreamLink(filepath, filename) {
maxBodyLength: Infinity,
})

response = response.data
response = JSON.parse(response.data.trim())

console.log('DreamLink:', cryptr.encrypt(response.Hash || JSON.stringify(response)))


Loading…
Cancel
Save