Skip to content

Commit 404db72

Browse files
Merge pull request #2 from leonardoadame/deepsource-autofix-0c9a476f
replace template strings with regular string literals
2 parents 6f61428 + fa3870d commit 404db72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function getPkgJsonData(pluginId) {
7676

7777
async function main() {
7878
await Promise.all(pluginApis.map(buildPluginApiDocs));
79-
console.log(`Plugin API Files Updated 🎸`);
79+
console.log("Plugin API Files Updated 🎸");
8080
}
8181

8282
function toTitleCase(str) {

scripts/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ${data
6565
}
6666

6767
function gitBranchSVG() {
68-
return `<svg viewBox="0 0 512 512"><path d="M416 160c0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.7 12.9 44.3 32 55.4v8.6c0 19.9-7.8 33.7-25.3 44.9-15.4 9.8-38.1 17.1-67.5 21.5-14 2.1-25.7 6-35.2 10.7V151.4c19.1-11.1 32-31.7 32-55.4 0-35.3-28.7-64-64-64S96 60.7 96 96c0 23.7 12.9 44.3 32 55.4v209.2c-19.1 11.1-32 31.7-32 55.4 0 35.3 28.7 64 64 64s64-28.7 64-64c0-16.6-6.3-31.7-16.7-43.1 1.9-4.9 9.7-16.3 29.4-19.3 38.8-5.8 68.9-15.9 92.3-30.8 36-22.8 55-57 55-98.8v-8.6c19.1-11.1 32-31.7 32-55.4zM160 56c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 400c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm192-256c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"></path></svg>`;
68+
return '<svg viewBox="0 0 512 512"><path d="M416 160c0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.7 12.9 44.3 32 55.4v8.6c0 19.9-7.8 33.7-25.3 44.9-15.4 9.8-38.1 17.1-67.5 21.5-14 2.1-25.7 6-35.2 10.7V151.4c19.1-11.1 32-31.7 32-55.4 0-35.3-28.7-64-64-64S96 60.7 96 96c0 23.7 12.9 44.3 32 55.4v209.2c-19.1 11.1-32 31.7-32 55.4 0 35.3 28.7 64 64 64s64-28.7 64-64c0-16.6-6.3-31.7-16.7-43.1 1.9-4.9 9.7-16.3 29.4-19.3 38.8-5.8 68.9-15.9 92.3-30.8 36-22.8 55-57 55-98.8v-8.6c19.1-11.1 32-31.7 32-55.4zM160 56c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 400c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm192-256c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"></path></svg>';
6969
}
7070

7171
function getHeadTag({ title: metaTitle, description: metaDescription } = {}) {

src/components/global/Playground/stackblitz.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const openAngularEditor = async (code: string, options?: EditorOptions) => {
124124
const appModule = 'src/app/app.module.ts';
125125
const files = {
126126
'src/main.ts': defaultFiles[0],
127-
'src/polyfills.ts': `import 'zone.js/dist/zone';`,
127+
'src/polyfills.ts': "import 'zone.js/dist/zone';",
128128
[appModule]: defaultFiles[1],
129129
'src/app/app.component.ts': defaultFiles[2],
130130
'src/app/app.component.css': defaultFiles[3],

0 commit comments

Comments
 (0)