Skip to content

Commit 31a332e

Browse files
changed nodejs version of deployment (#114)
1 parent 9464644 commit 31a332e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/production.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [12.x]
12+
node-version: [14.x]
1313
python-version: [3.0]
1414
env:
1515
BRANCH: production

src/lib/project-save-hoc.jsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const ProjectSaveHOC = (WrappedComponent) => {
7676
await this.saveMeta()
7777
} catch (e) {
7878
if (!this.requestCancelSave) {
79-
console.log("error save:", e)
79+
console.warn("error in saving:", e)
8080
errPromise = this.setError('Das hat leider nicht geklappt')
8181
} else {
8282
errPromise = Promise.reject()
@@ -92,8 +92,6 @@ const ProjectSaveHOC = (WrappedComponent) => {
9292
}
9393

9494
saveAssets() {
95-
console.log("inside save assets")
96-
9795
const costumeAssets = serializeCostumes(this.props.vm.runtime)
9896
const soundAssets = serializeSounds(this.props.vm.runtime)
9997
return Promise.all(
@@ -110,10 +108,9 @@ const ProjectSaveHOC = (WrappedComponent) => {
110108
filename: asset.fileName,
111109
}),
112110
})
113-
114-
console.log("save assets res", res)
115111

116112
if (!res.ok && res.status !== 409) {
113+
console.warn("save assets error response", res)
117114
throw new Error(`uploading an asset failed: ${asset.fileName}`)
118115
}
119116

0 commit comments

Comments
 (0)