Skip to content

Commit 87f3e5f

Browse files
committed
Update error messages
1 parent effd7a1 commit 87f3e5f

File tree

2 files changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/_tools/lint
    • license-header-file-list/bin
    • license-header-glob/bin

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/_tools/lint/license-header-file-list/bin/cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function main() {
125125
header[ ext ] = reFromString( tmp );
126126
} else {
127127
process.exitCode = 1;
128-
return console.error( 'Error: invalid option. When providing multiple headers, each header must have an associated file extension prefix.' ); // eslint-disable-line no-console
128+
return console.error( 'Error: invalid option. When providing multiple headers, each header must have an associated filename extension prefix.' ); // eslint-disable-line no-console
129129
}
130130
}
131131
}

lib/node_modules/@stdlib/_tools/lint/license-header-glob/bin/cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function main() {
124124
opts.header[ ext ] = reFromString( tmp );
125125
} else {
126126
process.exitCode = 1;
127-
return console.error( 'Error: invalid option. When providing multiple headers, each header must have an associated file extension prefix.' ); // eslint-disable-line no-console
127+
return console.error( 'Error: invalid option. When providing multiple headers, each header must have an associated filename extension prefix.' ); // eslint-disable-line no-console
128128
}
129129
}
130130
}

0 commit comments

Comments
 (0)