Skip to content

Commit f5a85cd

Browse files
committed
fix(all): Run blank-line-declaration-usage autofix
1 parent 97fba4b commit f5a85cd

File tree

187 files changed

+539
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+539
-0
lines changed

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/doctor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function assertTasksSupported(version, tasks) {
8686
default:
8787
{
8888
const message = getSupportedTasks(task)[version] || '';
89+
8990
if (message !== true) {
9091
log(
9192
colors.yellow(

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/prompts/__tests__/extend_prompt.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ it('_promptThemeSource should prompt correct workflow', () => {
438438
prototype._promptThemeSource();
439439

440440
const args = inquirer.prompt.getCall(0).args;
441+
441442
const questions = args[0];
442443

443444
const extendType = questions[0];

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/prompts/__tests__/prompt_util.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ it('getModuleChoices should get module choices that are appropriate for extend t
6666

6767
_.forEach(choices, (item, index) => {
6868
const number = index + 1;
69+
6970
const name = 'themelet-' + number;
7071

7172
expect(item.name).toBe(name);
@@ -78,6 +79,7 @@ it('getModuleChoices should get module choices that are appropriate for extend t
7879

7980
_.forEach(choices, (item, index) => {
8081
const number = index + 1;
82+
8183
const name = 'themelet-' + number;
8284

8385
if (number === 1) {
@@ -93,6 +95,7 @@ it('getModuleChoices should get module choices that are appropriate for extend t
9395

9496
_.forEach(choices, (item, index) => {
9597
const number = index + 1;
98+
9699
const name = 'themelet-' + number;
97100

98101
expect(!item.checked).toBe(true);
@@ -106,6 +109,7 @@ it('getModuleChoices should get module choices that are appropriate for extend t
106109

107110
_.forEach(choices, (item, index) => {
108111
const number = index + 1;
112+
109113
const name = 'themelet-' + number;
110114

111115
if (number === 1) {

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/prompts/extend_prompt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class ExtendPrompt {
7171
const baseTheme = this.themeConfig.baseTheme;
7272
const module = answers.module;
7373
const modulePackages = answers.modules;
74+
7475
const pkg = modulePackages[module];
7576

7677
if (!module) {

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/theme_finder.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,11 @@ function getLiferayThemeModuleFromURL(url) {
114114
// Just in case package name doesn't match URL basename, read it.
115115

116116
const {dependencies} = JSON.parse(fs.readFileSync('package.json'));
117+
117118
const themeName = Object.keys(dependencies)[0];
118119

119120
const json = path.join('node_modules', themeName, 'package.json');
121+
120122
config = JSON.parse(fs.readFileSync(json));
121123
});
122124

@@ -183,6 +185,7 @@ module.exports = {
183185
*/
184186
function withScratchDirectory(cb) {
185187
const template = path.join(os.tmpdir(), 'theme-finder-');
188+
186189
const directory = fs.mkdtempSync(template);
187190

188191
const cwd = process.cwd();

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/upgrade/6.2/upgrade.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ module.exports = function (options) {
281281
.pipe(
282282
plugins.filter((file) => {
283283
const extname = path.extname(file.path).slice(1);
284+
284285
const basename = path.basename(file.path, `.${extname}`);
285286

286287
if (promptResults[basename][extname]) {

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/lib/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const lfrThemeConfig = require('./liferay_theme_config');
1818
const argv = minimist(process.argv.slice(2));
1919

2020
const pkg = lfrThemeConfig.getConfig(true);
21+
2122
const themeConfig = pkg.liferayTheme;
2223

2324
const CUSTOM_DEP_PATH_ENV_VARIABLE_MAP = {

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/tasks/__tests__/build.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ describe('using lib_sass', () => {
147147

148148
function _assertFixAtDirectives(cb) {
149149
const cssPath = path.join(buildPath, 'css');
150+
150151
const mainCssPath = path.join(cssPath, 'main.css');
151152

152153
expect(fs.existsSync(cssPath)).toBe(true);
@@ -195,6 +196,7 @@ describe('using lib_sass', () => {
195196
expect(fs.existsSync(templatesPath)).toBe(true);
196197

197198
const customCSSFileName = '_custom.scss';
199+
198200
const customCSSPath = path.join(cssPath, customCSSFileName);
199201

200202
const fileContent = testUtil.stripNewlines(
@@ -288,6 +290,7 @@ describe('using lib_sass', () => {
288290
expect(fs.existsSync(velocityPath)).toBe(true);
289291

290292
const customCSSFileName = '_custom.scss';
293+
291294
const customCSSPath = path.join(buildPath, 'css', customCSSFileName);
292295

293296
expect(fs.readFileSync(customCSSPath).toString()).toMatch(

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/tasks/__tests__/status.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ beforeEach(() => {
1616
namespace: 'status_task',
1717
registerTasks: true,
1818
});
19+
1920
runSequence = config.runSequence;
2021
});
2122

maintenance/projects/js-themes-toolkit-v8-x/packages/liferay-theme-tasks/tasks/deploy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const DEPLOYMENT_STRATEGIES = themeUtil.DEPLOYMENT_STRATEGIES;
1212

1313
function registerTasks(options) {
1414
const {argv, gulp, pathDist} = options;
15+
1516
const {storage} = gulp;
1617

1718
const runSequence = require('run-sequence').use(gulp);

0 commit comments

Comments
 (0)