Skip to content

Commit 21a1508

Browse files
Fix copy paste typo for D2
1 parent 5753e8f commit 21a1508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Filter/Plot/Configuration.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ instance FromJSON SageMathPrecursor where
303303

304304
instance FromJSON D2Precursor where
305305
parseJSON (Object v) = D2Precursor <$> v .:? asKey PreambleK <*> v .:? asKey ExecutableK .!= d2Exe defaultConfiguration <*> v .:? asKey CommandLineArgsK .!= d2CmdArgs defaultConfiguration
306-
parseJSON _ = fail $ mconcat ["Could not parse ", show SageMath, " configuration."]
306+
parseJSON _ = fail $ mconcat ["Could not parse ", show D2, " configuration."]
307307

308308
instance FromJSON AsyPrecursor where
309309
parseJSON (Object v) = AsyPrecursor <$> v .:? asKey PreambleK <*> v .:? asKey ExecutableK .!= asyExe defaultConfiguration <*> v .:? asKey CommandLineArgsK .!= asyCmdArgs defaultConfiguration

0 commit comments

Comments
 (0)