Skip to content

Commit

Permalink
Spelling fixes for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazys Stepanas committed Sep 28, 2021
1 parent 389e76c commit aefa730
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colcon_cmake/task/cmake/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def _have_jobs_arg(self, cmd, env):
function checks if any known mechanisms are present. This checks for
the following patterns: [-j#, -j #, --parallel, '-- -j']. The last item
is for pre CMake 3.12, while the prior options are for 3.12+ where
CMake knowns how to pass jobs to the make system.
CMake knows how to pass jobs to the make system.
:param list cmd: Command line argument list for the build command.
:returns: True when a jobs argument is found in cmd.
Expand Down Expand Up @@ -292,7 +292,7 @@ async def _build(self, args, env, *, additional_targets=None):
# Add jobs from MAKEFLAGS or max out.
job_args = self._get_make_arguments(env)
if job_args:
# add '--' passthrough if not already present
# add '--' pass through if not already present
if '--' not in cmd:
cmd += ['--']
cmd += job_args
Expand Down Expand Up @@ -403,7 +403,7 @@ async def _install(self, args, env):
if allow_job_args:
job_args = self._get_make_arguments(env)
if job_args:
# add '--' passthrough if not already present
# add '--' pass through if not already present
if '--' not in cmd:
cmd += ['--']
cmd += job_args
Expand Down

0 comments on commit aefa730

Please sign in to comment.