Skip to content

Commit

Permalink
Merge pull request #1247 from embroider-build/windows-dummy-apps
Browse files Browse the repository at this point in the history
fix a rebuild crash in dummy apps on windows
  • Loading branch information
ef4 committed Aug 17, 2022
2 parents 5849d11 + aebec0a commit 0d5a072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compat/src/compat-addons.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Node } from 'broccoli-node-api';
import { join, relative, dirname, isAbsolute } from 'path';
import { join, relative, dirname, isAbsolute, sep } from 'path';
import { emptyDirSync, ensureSymlinkSync, ensureDirSync, realpathSync, copySync, writeJSONSync } from 'fs-extra';
import { Stage, Package, PackageCache, WaitForTrees, mangledEngineRoot } from '@embroider/core';
import V1InstanceCache from './v1-instance-cache';
Expand Down Expand Up @@ -123,7 +123,7 @@ export default class CompatAddons implements Stage {
// the addon, because that would overwrite the real app build.
ignore.push(rel);

if (rel === 'tests/dummy') {
if (rel === `tests${sep}dummy`) {
// special case: classic dummy apps are weird because they put the
// tests (which are truly part of the app, not the addon) inside the
// addon instead of inside the app.
Expand Down

0 comments on commit 0d5a072

Please sign in to comment.