Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:NoRedInk/elm-ops-tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
eeue56 committed Oct 11, 2016
2 parents bb16a09 + b20883f commit e5f5ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elm_deps_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def print_newer_versions(local_deps, remote_deps):
)

if not upgrade_suggestions:
print('No upgrades avaible')
print('No upgrades available')
else:
print('\n'.join(upgrade_suggestions))

Expand Down
3 changes: 2 additions & 1 deletion elm_self_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import os
import errno
import argparse
from collections import OrderedDict

def copy_package(location, destination, ignorer=None):
shutil.rmtree(destination, ignore_errors=True)
Expand Down Expand Up @@ -91,7 +92,7 @@ def self_publish(package_location, destination=".", quiet=False):
json.dump(package_info, f, sort_keys=False, indent=4)

with open(destination_elm_package_file) as f:
destination_elm_package = json.load(f)
destination_elm_package = json.load(f, object_pairs_hook=OrderedDict)

with open(destination_elm_package_file, 'w') as f:
destination_elm_package['dependencies'][place] = "{version} <= v <= {version}".format(version=version)
Expand Down

0 comments on commit e5f5ae3

Please sign in to comment.