Skip to content

Commit e855d50

Browse files
committed
Correct Lint errors
1 parent eedcd27 commit e855d50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/goModifytags.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export function addTags(commandArgs: GoTagsConfig) {
3333
return;
3434
}
3535

36-
getTagsAndOptions(<GoTagsConfig>getGoConfig()['addTags'], commandArgs).then(([tags, options, transformValue, template]) => {
36+
getTagsAndOptions(<GoTagsConfig>getGoConfig()['addTags'], commandArgs).then((
37+
[tags, options, transformValue, template]) => {
3738
if (!tags && !options) {
3839
return;
3940
}
@@ -118,7 +119,7 @@ function getTagsAndOptions(config: GoTagsConfig, commandArgs: GoTagsConfig): The
118119
const transformValue: string =
119120
commandArgs && commandArgs.hasOwnProperty('transform') ? commandArgs['transform'] : config['transform'];
120121
const format: string =
121-
commandArgs && commandArgs.hasOwnProperty('template') ? commandArgs['template']: config['template'];
122+
commandArgs && commandArgs.hasOwnProperty('template') ? commandArgs['template'] : config['template'];
122123

123124
if (!promptForTags) {
124125
return Promise.resolve([tags, options, transformValue, format]);

0 commit comments

Comments
 (0)