Skip to content

Commit

Permalink
removes debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazwazza committed Oct 16, 2020
1 parent feea391 commit 92ecd3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 1 addition & 15 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,9 @@ foreach($project in $root.ChildNodes) {

}

# Build the proj in release mode

& $DOTNET --info

& $DOTNET restore --configfile "$NugetConfig"
if (-not $?)
{
throw "The dotnet restore process returned an error code."
}

& $DOTNET build "$SmidgeSln" --configuration "$BuildConfig"
if (-not $?)
{
throw "The dotnet build process returned an error code."
}

# Build the nugets for each proj
# Build the project and nugets for each proj

foreach($project in $root.ChildNodes) {

Expand Down
1 change: 0 additions & 1 deletion src/Smidge.Nuglify/NuglifyJs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public Task ProcessAsync(FileProcessContext fileProcessContext, PreProcessorDele

if (result.HasErrors)
{
Debugger.Launch();
throw new InvalidOperationException(
string.Join(",", result.Errors.Select(x => x.ToString())));
}
Expand Down

0 comments on commit 92ecd3b

Please sign in to comment.