From ffded598befa2c6d08824157e97fd60df2a360f6 Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 4 Oct 2023 20:54:09 -0700 Subject: [PATCH] tryposix --- markdownlint-cli2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdownlint-cli2.js b/markdownlint-cli2.js index e4328a23..eb9e623b 100755 --- a/markdownlint-cli2.js +++ b/markdownlint-cli2.js @@ -54,7 +54,7 @@ const posixPath = (p) => p.split(pathDefault.sep).join(pathPosix.sep); // Resolves module paths relative to the specified directory const resolveModulePaths = (dir, modulePaths) => ( - modulePaths.map((path) => pathDefault.resolve(dir, path)) + modulePaths.map((path) => pathPosix.resolve(dir, path)) ); // Read a JSON(C) or YAML file and return the object