Skip to content

Commit 268029d

Browse files
committed
Release 1.5.1
1 parent a922b01 commit 268029d

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "awps",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "awps",
55
"main": "index.js",
66
"repository": {

src/content.min.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47176,6 +47176,7 @@ function beautify(code, language) {
4717647176
// if language is not in array, return code
4717747177
if (!['js', 'css', 'json'].includes(language)) {
4717847178
return code;
47179+
"";
4717947180
}
4718047181
if (language === 'css') {
4718147182
return cssBeautify(code);

src/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const i18n = {
3636
function beautify(code: string, language: string): string {
3737
// if language is not in array, return code
3838
if (!['js', 'css', 'json'].includes(language)) {
39-
return code;
39+
return code;``
4040
}
4141

4242
if (language === 'css') {

src/manifest.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "__MSG_extName__",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"manifest_version": 3,
55
"description": "__MSG_extDescription__",
66
"homepage_url": "https://zerowp.com/code-formatter",
@@ -15,7 +15,8 @@
1515
},
1616
"permissions": [
1717
"scripting",
18-
"tabs"
18+
"tabs",
19+
"clipboardWrite"
1920
],
2021
"host_permissions": [
2122
"http://*/*",

0 commit comments

Comments
 (0)