moar debug

This commit is contained in:
Joe Rickerby
2020-07-12 12:45:59 +01:00
parent 9f71900637
commit dc446d3cac
+2
View File
@@ -69,6 +69,8 @@ def evaluate_word_node(node: bashlex.ast.node, context: NodeExecutionContext) ->
# remove the None letters and concat
value = ''.join(letters)
print('node value:', value)
# apply bash-like quotes/whitespace treatment
return ' '.join(word.strip() for word in shlex.split(value))