Skip to content

Commit

Permalink
fix(@angular/cli): correct CSS import fallback logic
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin committed Feb 7, 2018
1 parent 7cf23cd commit ba29fb9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/@angular/cli/models/webpack-configs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,13 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
loader.resolve(context, url, (err: Error, result: string) => {
if (err) {
reject(err);
return;
} else {
resolve(result);
}

resolve(result);
});
} else {
resolve(result);
}

resolve(result);
});
});
},
Expand Down

0 comments on commit ba29fb9

Please sign in to comment.