Skip to content

Commit 8d0d698

Browse files
committed
Don't apply new configFile setting to ephemeral files (consistent with other file-based configuration).
1 parent 7ff2e8a commit 8d0d698

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extension.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,7 @@ async function markdownlintWrapper (document) {
437437
posixPath(workspaceFolderUri.fsPath);
438438
const argv = independentDocument ?
439439
[] :
440-
[ `:${name}` ];
441-
argv.push(...getConfigFileArgs(configuration));
440+
[ `:${name}`, ...getConfigFileArgs(configuration) ];
442441
const contents = independentDocument ?
443442
"nonFileContents" :
444443
"fileContents";

0 commit comments

Comments
 (0)