Skip to content

Commit

Permalink
Fix platform specific slash
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-joelmut committed Jan 15, 2025
1 parent 748cd65 commit 2556942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const lodashPlugin = require('eslint-plugin-lodash');
const mochaPlugin = require('eslint-plugin-mocha');
const prettierPluginRecommended = require('eslint-plugin-prettier/recommended');
const securityPlugin = require('eslint-plugin-security');
const path = require('path');

module.exports = config = [
// Base configurations.
Expand Down Expand Up @@ -197,7 +198,7 @@ module.exports = config = [
// Apply only to repository tools.
if (
['testing', 'tools', 'tsup', 'botbuilder-vendors', 'botbuilder-repo-utils'].some((tool) =>
process.cwd().includes(`\\${tool}`),
process.cwd().includes(`${path.sep}${tool}`),
)
) {
config.push({
Expand Down

0 comments on commit 2556942

Please sign in to comment.