Skip to content

Commit

Permalink
[#1] Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreaming-augustin committed Dec 22, 2024
1 parent ac4d673 commit 1f9f110
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions tasks/config/project/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ let
npmPackage,
version,
revision,
versionInFileName
versionInFileName,
includeVersionInFileName
;

/*******************************
Expand All @@ -29,7 +30,7 @@ try {
}

// looks for version in config or package.json (whichever is available)
version = npmPackage && npmPackage.version !== undefined && npmPackage.name === 'fomantic-ui'
version = npmPackage && npmPackage.version != undefined && npmPackage.name === 'fomantic-ui'
? npmPackage.version
: config.version;

Expand All @@ -41,13 +42,12 @@ includeVersionInFileName = config.includeVersionInFileName === undefined ? false
versionInFileName = '';

if (includeVersionInFileName) {
versionInFileName = '-' + version;
if (revision != '') {
versionInFileName += '-' + revision;
}
versionInFileName = '-' + version;
if (revision != '') {
versionInFileName += '-' + revision;
}
}


/*******************************
Export
*******************************/
Expand Down
12 changes: 6 additions & 6 deletions tasks/config/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ module.exports = {
},

filenames: {
concatenatedCSS: 'semantic' + release.versionInFileName + '.css',
concatenatedJS: 'semantic' + release.versionInFileName + '.js',
concatenatedMinifiedCSS: 'semantic' + release.versionInFileName + '.min.css',
concatenatedMinifiedJS: 'semantic' + release.versionInFileName + '.min.js',
concatenatedRTLCSS: 'semantic.rtl' + release.versionInFileName + '.css',
concatenatedMinifiedRTLCSS: 'semantic.rtl' + release.versionInFileName + '.min.css',
concatenatedCSS: 'semantic' + release.versionInFileName + '.css',
concatenatedJS: 'semantic' + release.versionInFileName + '.js',
concatenatedMinifiedCSS: 'semantic' + release.versionInFileName + '.min.css',
concatenatedMinifiedJS: 'semantic' + release.versionInFileName + '.min.js',
concatenatedRTLCSS: 'semantic.rtl' + release.versionInFileName + '.css',
concatenatedMinifiedRTLCSS: 'semantic.rtl' + release.versionInFileName + '.min.css',
},

regExp: {
Expand Down

0 comments on commit 1f9f110

Please sign in to comment.