Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauorriols committed Nov 28, 2023
1 parent c7cfd18 commit 522ed28
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions action/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {
API,
APIError,
fromFileUrl,
normalize,
parseEntrypoint,
resolve,
walk,
normalize,
} from "./deps.js";

// The origin of the server to make Deploy requests to.
Expand Down Expand Up @@ -75,8 +75,12 @@ async function main() {
core.debug(`Discovering assets in "${cwd}"`);
const assets = new Map();
const entries = await walk(cwd, cwd, assets, {
include: include.split(",").map(pattern => normalize(pattern)),
exclude: exclude.split(",").map(pattern => normalize(pattern)),
include: include.flatMap((i) => i.split(",")).map((pattern) =>
normalize(pattern)
),
exclude: exclude.flatMap((e) => e.split(",")).map((pattern) =>
normalize(pattern)
),
});
core.debug(`Discovered ${assets.size} assets`);

Expand Down

1 comment on commit 522ed28

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 522ed28 Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

TypeError: module not found: 'file:///src/import_bomb1.ts'
    at async file:///src/include_exclude.ts:2:13

Please sign in to comment.