Skip to content

Commit

Permalink
Convert CRLF line endings to LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Starotitorov committed Nov 13, 2018
1 parent feaa419 commit 55cb996
Show file tree
Hide file tree
Showing 24 changed files with 1,268 additions and 1,254 deletions.
664 changes: 354 additions & 310 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ function mockFetchReturned({
let body = json
? JSON.stringify(typeof json === 'function' ? json() : json)
: typeof text === 'function'
? text()
: text;
? text()
: text;
const timeout = setTimeout(
() =>
resolve(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class MagentoRootComponentsPlugin {
// Create a list of absolute paths for root components. When a
// relative path is found, resolve it from the root context of
// the webpack build
const rootComponentsDirsAbs = rootComponentsDirs.map(dir =>
isAbsolute(dir) ? dir : join(context, dir)
const rootComponentsDirsAbs = rootComponentsDirs.map(
dir => (isAbsolute(dir) ? dir : join(context, dir))
);
const rootComponentImporters = await rootComponentsDirsAbs.reduce(
async (importersPromise, rootComponentDir) => {
Expand Down
Loading

0 comments on commit 55cb996

Please sign in to comment.