Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rm -rvf .memestra
rm -rvf .mypy_cache

# created whenever a file is modified.
find -d . -name .ipynb_checkpoints | xargs -0 rm -v -rf "{}"
find . -name .ipynb_checkpoints -print0 | xargs -0 rm -v -rf

ls -laF ~/Library/jupyter
rm -rf ~/Library/jupyter
2 changes: 1 addition & 1 deletion generate-entities.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jp -f landscape-items-clean.json "[?relation].{ id: id, \
relation: relation, \
oss: oss, \
license: license, \
description: description \
description: description, \
repos: repos }"
4 changes: 2 additions & 2 deletions util/landgraph/landgraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const optionDefinitions = [
},
{
name: 'out', alias: 'o', type: String,
description: 'executable schema --> output file', typelabel: '<file>'
description: 'executable schema --> output file', typeLabel: '<file>'
},
{
name: 'gserve', alias: 'g', type: Boolean,
Expand All @@ -61,7 +61,7 @@ const optionDefinitions = [

const options = commandLineArgs(optionDefinitions)

if (options.help || options ) {
if (options.help || Object.keys(options).length === 0) {
const usage = commandLineUsage([
{
header: 'landgraph',
Expand Down