Coding standard to match with previous rulesets
This commit is contained in:
parent
de9a81baca
commit
c0ccc14d72
@ -8,4 +8,8 @@ charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = tab
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{txt,md}]
|
||||
trim_trailing_whitespace = false
|
||||
|
4
LICENSE
4
LICENSE
@ -1,7 +1,7 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 Claudio Santos, Shiva Poudel and Richard Lam
|
||||
(MIT) Copyright (c) 2020 Philipp Kief (VSCode Material Icon Theme)
|
||||
Copyright (c) 2021 Claudio Santos, Shiva Poudel and Richard Lam
|
||||
(MIT) Copyright (c) 2021 Philipp Kief (VSCode Material Icon Theme)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -33,8 +33,8 @@ function copySrc() {
|
||||
|
||||
// Copy extension icon.
|
||||
const copyExtensionLogos = fs.copy(
|
||||
path.resolve(srcPath, "extensionIcons"),
|
||||
path.resolve(distPath, "icons")
|
||||
path.resolve(srcPath, 'extensionIcons'),
|
||||
path.resolve(distPath, 'icons')
|
||||
);
|
||||
|
||||
// Bundle the main script.
|
||||
|
@ -29,8 +29,8 @@ observe(iconSelector, {
|
||||
*/
|
||||
function replaceIcon(fileRow, iconMap) {
|
||||
// get file/folder name.
|
||||
const fileName = fileRow.querySelector('[role=rowheader]')?.firstElementChild?.firstElementChild
|
||||
?.innerText;
|
||||
const fileName =
|
||||
fileRow.querySelector('[role=rowheader]')?.firstElementChild?.firstElementChild?.innerText;
|
||||
if (!fileName) return; // fileName couldn't be found or we don't have a match for it.
|
||||
|
||||
// svg to be replaced.
|
||||
|
Loading…
x
Reference in New Issue
Block a user