diff --git a/manifest.json b/manifest.json index 73683ec..b7b1a7f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "version": "2.0.3", + "version": "2.0.4", "manifest_version": 2, "default_locale": "en", "name": "__MSG_appName__", diff --git a/src/github-api.js b/src/github-api.js index 0dde3cc..e75816b 100644 --- a/src/github-api.js +++ b/src/github-api.js @@ -28,7 +28,7 @@ function pushToRepo(code) { return {file: file, blob: response}; }) }); - if (changed.lengthun === 0) { + if (changed.length === 0) { showAlert("Nothing to do", LEVEL_WARN); return; }