Skip to content

Instantly share code, notes, and snippets.

@natanloterio
Created December 12, 2019 14:10
Show Gist options
  • Save natanloterio/ab9ea38745f34d31eed8973120fbf296 to your computer and use it in GitHub Desktop.
Save natanloterio/ab9ea38745f34d31eed8973120fbf296 to your computer and use it in GitHub Desktop.
➜ facio-mobile copy git:(develop) ✗ screenshots -c screenshots.yaml
Unhandled exception:
Error on line 7, column 3: Expected a key while parsing a block mapping.
7 │ staging: /tmp/screenshots
│ ^
#0 Parser._parseBlockMappingKey (package:yaml/src/parser.dart:441:5)
#1 Parser._stateMachine (package:yaml/src/parser.dart:86:16)
#2 Parser.parse (package:yaml/src/parser.dart:47:19)
#3 Loader._loadMapping (package:yaml/src/loader.dart:169:23)
#4 Loader._loadNode (package:yaml/src/loader.dart:86:16)
#5 Loader._loadDocument (package:yaml/src/loader.dart:62:20)
#6 Loader.load (package:yaml/src/loader.dart:54:20)
#7 loadYamlDocument (package:yaml/yaml.dart:51:25)
#8 loadYamlNode (package:yaml/yaml.dart:42:5)
#9 loadYaml (package:yaml/yaml.dart:34:5)
#10 parseYamlFile (package:screenshots/src/utils.dart:16:27)
#11 new Config (package:screenshots/src/config.dart:26:25)
#12 main (file:///Users/natanloterio/.pub-cache/hosted/pub.dartlang.org/screenshots-2.1.1/bin/main.dart:97:18)
<asynchronous suspension>
#13 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment