Skip to content

Commit

Permalink
chore(lint): fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed May 20, 2020
1 parent 818e7c7 commit 6172bc2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
19 changes: 18 additions & 1 deletion pkg/cmd/modeline.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cmd

import (
"context"
"fmt"
"path"
"path/filepath"

"github.com/apache/camel-k/pkg/util/modeline"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"path/filepath"
)

const (
Expand Down
3 changes: 1 addition & 2 deletions pkg/cmd/modeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand All @@ -20,12 +19,12 @@ package cmd

import (
"context"
"io/ioutil"
"os"
"path"
"testing"

"github.com/stretchr/testify/assert"
"io/ioutil"
)

func TestModelineRunSimple(t *testing.T) {
Expand Down

0 comments on commit 6172bc2

Please sign in to comment.