Skip to content
Permalink
Browse files

Fix linting errors

  • Loading branch information...
overshard committed Jun 4, 2017
1 parent a073fdf commit 9dedc5ffab29a85fcd381322e4da9d6bbc392987
Showing with 4 additions and 5 deletions.
  1. +0 −1 LICENSE
  2. +3 −3 core/management/commands/fake.py
  3. +1 −1 timestrap/static_src/components/timesheet.vue
@@ -23,4 +23,3 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@@ -50,9 +50,9 @@ def handle(self, *args, **kwargs):
if estimated:
estimate = timedelta(hours=randint(5, 150))
project_name = (fake
.sentence(nb_words=3, variable_nb_words=True)
.replace('.', '')
.capitalize())
.sentence(nb_words=3, variable_nb_words=True)
.replace('.', '')
.capitalize())
Project.objects.create(
client=client,
estimate=estimate,
@@ -169,7 +169,7 @@ export default {
user: timestrapConfig.USER.URL
};
quickFetch(timestrapConfig.API_URLS.ENTRIES, 'post', body).then(data => {
$.growl.notice({ message: "New entry added!" });
$.growl.notice({ message: 'New entry added!' });
this.entries.map(entryBlock => {
if (entryBlock.date === data.date) {
entryBlock.entries.unshift(data);

0 comments on commit 9dedc5f

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.