Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dvvanessastoiber committed Sep 15, 2021
1 parent c9f359e commit 054f1a3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion generators/init-product/templates/plain/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ function buildDockerImage(p) {
}
const additionalType = (label, type) => {
return fs.existsSync(`./templates/${type}/deploy/${label}`);
}
};

let dockerFile;
// check if label exists and use type as fallback
Expand Down
1 change: 0 additions & 1 deletion generators/workspace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const NpmUtils = require('../../utils/NpmUtils');
const PipUtils = require('../../utils/PipUtils');
const BasePhoveaGenerator = require('../../base/BasePhoveaGenerator');
const WorkspaceUtils = require('../../utils/WorkspaceUtils');
const GeneratorUtils = require('../../utils/GeneratorUtils');

function mergeWith(target, source) {
const mergeArrayUnion = (a, b) => Array.isArray(a) ? _.union(a, b) : undefined;
Expand Down
11 changes: 0 additions & 11 deletions test/auto-update.test.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@

'use strict';
const path = require('path');
const assert = require('yeoman-assert');
const helpers = require('yeoman-test');
const rimraf = require('rimraf');
const fse = require('fs-extra');
const dependencies = require('./test-utils/generator-dependencies');
const WorkspaceUtils = require('../utils/WorkspaceUtils');
const parse = require('csv-parse/lib/sync');
const tmp = require('tmp');
const AutoUpdateUtils = require('../generators/auto-update/AutoUpdateUtils');
const RepoUtils = require('../utils/RepoUtils');
const NpmUtils = require('../utils/NpmUtils');
const SpawnUtils = require('../utils/SpawnUtils');
const GithubRestUtils = require('../generators/auto-update/GithubRestUtils');
const targetVersion = require('../package.json').version.replace('-SNAPSHOT', '');

const target = '../update';
const dummyToken = '********************';
Expand Down
1 change: 0 additions & 1 deletion test/setup-workspace.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
'use strict';
const path = require('path');
const helpers = require('yeoman-test');
const rimraf = require('rimraf');
const GeneratorUtils = require('../utils/GeneratorUtils');
const WorkspaceUtils = require('../utils/WorkspaceUtils');
const assert = require('yeoman-assert');
Expand Down

0 comments on commit 054f1a3

Please sign in to comment.