Skip to content

Commit

Permalink
Merge pull request #70 from leonhartX/fix-appscript-color-conflict
Browse files Browse the repository at this point in the history
fix problems with applescript color
  • Loading branch information
leonhartX authored Apr 5, 2018
2 parents 77a3734 + b347153 commit 54a9c0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.3.4",
"version": "3.3.5",
"manifest_version": 2,
"default_locale": "en",
"name": "__MSG_appName__",
Expand Down
4 changes: 2 additions & 2 deletions src/gas-hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ function prepareCode() {
.then((data) => {
const re = new RegExp(`\\${context.config.filetype}$`);
const files = $('.item').toArray().reduce((hash, e) => {
if (context.config.manifestEnabled && e.innerText === 'appsscript.json') {
if (context.config.manifestEnabled && e.innerText.trim() === 'appsscript.json') {
hash['appsscript'] = 'appsscript.json';
}
const match = e.innerText.match(/(.*?)\.(gs|html)$/);
const match = e.innerText.trim().match(/(.*?)\.(gs|html)$/);
if (!match || !match[1] || !match[2]) return hash;
hash[match[1]] = match[0];
return hash;
Expand Down

0 comments on commit 54a9c0d

Please sign in to comment.