Skip to content

Commit

Permalink
fixup! fixup! ci: test win paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Sep 23, 2024
1 parent f7aa6d4 commit a0014f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- run: yarn nx run scripts-executors:test -t start

# - run: yarn nx run workspace-plugin:test -t 'prepare-initial-release generator'
- run: yarn nx run workspace-plugin:test -t 'prepare-initial-release generator'

- run: yarn nx list @fluentui/workspace-plugin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
visitNotIgnoredFiles,
} from '@nrwl/devkit';
import childProcess from 'child_process';
import path from 'node:path';

import generator from './index';
import { PackageJson, TsConfig } from '../../types';
Expand Down Expand Up @@ -1064,7 +1065,7 @@ These are not production-ready components and **should never be used in product*
const contents: Record<string, string> = {};

visitNotIgnoredFiles(tree, root, file => {
contents[file] = stripIndents`${tree.read(file, 'utf-8')}` ?? '';
contents[path.normalize(file)] = stripIndents`${tree.read(file, 'utf-8')}` ?? '';
});

return contents;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,15 @@ async function stableRelease(tree: Tree, options: NormalizedSchema & { isSplitPr

const bundleSizeFixturesRoot = joinPathFragments(options.projectConfig.root, 'bundle-size');
if (tree.exists(bundleSizeFixturesRoot)) {
console.log('===BUNDLE SIZE UPDATES====', { bundleSizeFixturesRoot });
visitNotIgnoredFiles(tree, bundleSizeFixturesRoot, filePath => {
updateFileContent(tree, {
filePath,
updater: contentNameUpdater,
});
});
} else {
console.warn('=== NO BUNDLE SIZE UPDATES! ====', { bundleSizeFixturesRoot });
}

const mdFilePath = {
Expand Down

0 comments on commit a0014f7

Please sign in to comment.